Message ID | 20190318144237.42447-1-andriy.shevchenko@linux.intel.com (mailing list archive) |
---|---|
State | Accepted |
Commit | 9384d0e6facc9f5b325a2d401e9ed6bb49507a2a |
Headers | show |
Series | [v1] spi: pxa2xx-pci: Drop unused header inclusion | expand |
On 3/18/19 4:42 PM, Andy Shevchenko wrote: > There is nothing in the driver which requires OF specific header > to be included. > > Remove it for good. > > Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> > --- > drivers/spi/spi-pxa2xx-pci.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/drivers/spi/spi-pxa2xx-pci.c b/drivers/spi/spi-pxa2xx-pci.c > index 33029ca0687a..d456c5251b5d 100644 > --- a/drivers/spi/spi-pxa2xx-pci.c > +++ b/drivers/spi/spi-pxa2xx-pci.c > @@ -5,7 +5,6 @@ > */ > #include <linux/clk-provider.h> > #include <linux/module.h> > -#include <linux/of_device.h> > #include <linux/pci.h> > #include <linux/platform_device.h> > #include <linux/spi/pxa2xx_spi.h> Yes, looks like not needed since 0202775bc3a2 ("spi/pxa2xx-pci: switch to use pcim_* interfaces"). Reviewed-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>
diff --git a/drivers/spi/spi-pxa2xx-pci.c b/drivers/spi/spi-pxa2xx-pci.c index 33029ca0687a..d456c5251b5d 100644 --- a/drivers/spi/spi-pxa2xx-pci.c +++ b/drivers/spi/spi-pxa2xx-pci.c @@ -5,7 +5,6 @@ */ #include <linux/clk-provider.h> #include <linux/module.h> -#include <linux/of_device.h> #include <linux/pci.h> #include <linux/platform_device.h> #include <linux/spi/pxa2xx_spi.h>
There is nothing in the driver which requires OF specific header to be included. Remove it for good. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> --- drivers/spi/spi-pxa2xx-pci.c | 1 - 1 file changed, 1 deletion(-)