i2c: aspeed: Remove unused includes
PATCH 1/1 i2c: aspeed: Remove unused includes
From: Thierry Reding <[email protected]>
No symbols from the linux/irqchip/chained_irq.h and linux/irqdomain.h headers are used in the driver, so they can be removed.
--- drivers/i2c/busses/i2c-aspeed.c | 2 -- 1 file changed, 2 deletions(-)
drivers/i2c/busses/i2c-aspeed.c +0 -2
@@ -16,8 +16,6 @@#include <linux/interrupt.h> #include <linux/io.h> #include <linux/irq.h> -#include <linux/irqchip/chained_irq.h> -#include <linux/irqdomain.h> #include <linux/kernel.h> #include <linux/module.h> #include <linux/of_address.h>
Signature · 1 line
2.33.1
Joel Stanley
maintainerPATCH 1/1 i2c: aspeed: Remove unused includes
Quoted 7 lines · Thierry Reding
From: Thierry Reding <[email protected]>
No symbols from the
linux/irqchip/chained_irq.handlinux/irqdomain.hheaders are used in the driver, so they can be removed.Signed-off-by Thierry Reding <[email protected]>
Agreed, it looks like these were added in the initial commit and never used.
Quoted 20 lines
--- drivers/i2c/busses/i2c-aspeed.c | 2 -- 1 file changed, 2 deletions(-)drivers/i2c/busses/i2c-aspeed.c +0
-3@@ -16,8 +16,6 @@#include <linux/interrupt.h> #include <linux/io.h> #include <linux/irq.h> -#include <linux/irqchip/chained_irq.h> -#include <linux/irqdomain.h> #include <linux/kernel.h> #include <linux/module.h> #include <linux/of_address.h> --2.33.1
Wolfram Sang
AppliedPATCH 1/1 i2c: aspeed: Remove unused includes
In reply to Thierry RedingQuoted 6 lines · Thierry Reding
From: Thierry Reding <[email protected]>
No symbols from the
linux/irqchip/chained_irq.handlinux/irqdomain.hheaders are used in the driver, so they can be removed.Signed-off-by Thierry Reding <[email protected]>
Applied to for-next, thanks!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/linux-aspeed/attachments/20211216/4c6576e0/attachment.sig>