| From ltsi-dev-bounces@lists.linuxfoundation.org Wed Nov 5 10:39:33 2014 |
| From: Chang Rebecca Swee Fun <rebecca.swee.fun.chang@intel.com> |
| Date: Wed, 5 Nov 2014 09:39:06 +0800 |
| Subject: [LTSI-dev] [PATCH 01/16] mfd: Delete non-required instances of include <linux/init.h> |
| To: LTSI Mailing List <ltsi-dev@lists.linuxfoundation.org> |
| Cc: Chang Rebecca Swee Fun <rebecca.swee.fun.chang@intel.com> |
| Message-ID: <1415151561-16047-2-git-send-email-rebecca.swee.fun.chang@intel.com> |
| |
| |
| From: Paul Gortmaker <paul.gortmaker@windriver.com> |
| |
| None of these files are actually using any __init type directives |
| and hence don't need to include <linux/init.h>. Most are just a |
| left over from __devinit and __cpuinit removal, or simply due to |
| code getting copied from one driver to the next. |
| |
| Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com> |
| Signed-off-by: Lee Jones <lee.jones@linaro.org> |
| (cherry picked from commit 3c699105d0376c14940ce7cf561754a94cdff8dd) |
| |
| Signed-off-by: Chang Rebecca Swee Fun <rebecca.swee.fun.chang@intel.com> |
| --- |
| drivers/mfd/adp5520.c | 1 - |
| drivers/mfd/cs5535-mfd.c | 1 - |
| drivers/mfd/janz-cmodio.c | 1 - |
| drivers/mfd/lpc_ich.c | 1 - |
| drivers/mfd/lpc_sch.c | 1 - |
| drivers/mfd/mcp-sa11x0.c | 1 - |
| drivers/mfd/pcf50633-adc.c | 1 - |
| drivers/mfd/rc5t583-irq.c | 1 - |
| drivers/mfd/rdc321x-southbridge.c | 1 - |
| drivers/mfd/retu-mfd.c | 1 - |
| drivers/mfd/smsc-ece1099.c | 1 - |
| drivers/mfd/ti-ssp.c | 1 - |
| drivers/mfd/ti_am335x_tscadc.c | 1 - |
| drivers/mfd/tps65912-core.c | 1 - |
| drivers/mfd/tps65912-irq.c | 1 - |
| drivers/mfd/twl4030-irq.c | 1 - |
| drivers/mfd/twl4030-madc.c | 1 - |
| drivers/mfd/twl6030-irq.c | 1 - |
| drivers/mfd/vexpress-config.c | 1 - |
| drivers/mfd/wm8350-core.c | 1 - |
| drivers/mfd/wm8350-irq.c | 1 - |
| 21 files changed, 21 deletions(-) |
| |
| --- a/drivers/mfd/adp5520.c |
| +++ b/drivers/mfd/adp5520.c |
| @@ -20,7 +20,6 @@ |
| #include <linux/kernel.h> |
| #include <linux/module.h> |
| #include <linux/platform_device.h> |
| -#include <linux/init.h> |
| #include <linux/slab.h> |
| #include <linux/interrupt.h> |
| #include <linux/irq.h> |
| --- a/drivers/mfd/cs5535-mfd.c |
| +++ b/drivers/mfd/cs5535-mfd.c |
| @@ -23,7 +23,6 @@ |
| */ |
| |
| #include <linux/kernel.h> |
| -#include <linux/init.h> |
| #include <linux/mfd/core.h> |
| #include <linux/module.h> |
| #include <linux/pci.h> |
| --- a/drivers/mfd/janz-cmodio.c |
| +++ b/drivers/mfd/janz-cmodio.c |
| @@ -13,7 +13,6 @@ |
| |
| #include <linux/kernel.h> |
| #include <linux/module.h> |
| -#include <linux/init.h> |
| #include <linux/pci.h> |
| #include <linux/interrupt.h> |
| #include <linux/delay.h> |
| --- a/drivers/mfd/lpc_ich.c |
| +++ b/drivers/mfd/lpc_ich.c |
| @@ -58,7 +58,6 @@ |
| |
| #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
| |
| -#include <linux/init.h> |
| #include <linux/kernel.h> |
| #include <linux/module.h> |
| #include <linux/errno.h> |
| --- a/drivers/mfd/lpc_sch.c |
| +++ b/drivers/mfd/lpc_sch.c |
| @@ -23,7 +23,6 @@ |
| * the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. |
| */ |
| |
| -#include <linux/init.h> |
| #include <linux/kernel.h> |
| #include <linux/module.h> |
| #include <linux/errno.h> |
| --- a/drivers/mfd/mcp-sa11x0.c |
| +++ b/drivers/mfd/mcp-sa11x0.c |
| @@ -12,7 +12,6 @@ |
| * MCP read/write timeouts from Jordi Colomer, rehacked by rmk. |
| */ |
| #include <linux/module.h> |
| -#include <linux/init.h> |
| #include <linux/io.h> |
| #include <linux/errno.h> |
| #include <linux/kernel.h> |
| --- a/drivers/mfd/pcf50633-adc.c |
| +++ b/drivers/mfd/pcf50633-adc.c |
| @@ -19,7 +19,6 @@ |
| #include <linux/kernel.h> |
| #include <linux/slab.h> |
| #include <linux/module.h> |
| -#include <linux/init.h> |
| #include <linux/device.h> |
| #include <linux/platform_device.h> |
| #include <linux/completion.h> |
| --- a/drivers/mfd/rc5t583-irq.c |
| +++ b/drivers/mfd/rc5t583-irq.c |
| @@ -22,7 +22,6 @@ |
| */ |
| #include <linux/interrupt.h> |
| #include <linux/irq.h> |
| -#include <linux/init.h> |
| #include <linux/i2c.h> |
| #include <linux/mfd/rc5t583.h> |
| |
| --- a/drivers/mfd/rdc321x-southbridge.c |
| +++ b/drivers/mfd/rdc321x-southbridge.c |
| @@ -19,7 +19,6 @@ |
| * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. |
| * |
| */ |
| -#include <linux/init.h> |
| #include <linux/module.h> |
| #include <linux/kernel.h> |
| #include <linux/platform_device.h> |
| --- a/drivers/mfd/retu-mfd.c |
| +++ b/drivers/mfd/retu-mfd.c |
| @@ -19,7 +19,6 @@ |
| #include <linux/err.h> |
| #include <linux/i2c.h> |
| #include <linux/irq.h> |
| -#include <linux/init.h> |
| #include <linux/slab.h> |
| #include <linux/mutex.h> |
| #include <linux/module.h> |
| --- a/drivers/mfd/smsc-ece1099.c |
| +++ b/drivers/mfd/smsc-ece1099.c |
| @@ -13,7 +13,6 @@ |
| |
| #include <linux/module.h> |
| #include <linux/moduleparam.h> |
| -#include <linux/init.h> |
| #include <linux/slab.h> |
| #include <linux/i2c.h> |
| #include <linux/gpio.h> |
| --- a/drivers/mfd/ti-ssp.c |
| +++ b/drivers/mfd/ti-ssp.c |
| @@ -23,7 +23,6 @@ |
| #include <linux/module.h> |
| #include <linux/slab.h> |
| #include <linux/err.h> |
| -#include <linux/init.h> |
| #include <linux/wait.h> |
| #include <linux/clk.h> |
| #include <linux/interrupt.h> |
| --- a/drivers/mfd/ti_am335x_tscadc.c |
| +++ b/drivers/mfd/ti_am335x_tscadc.c |
| @@ -14,7 +14,6 @@ |
| */ |
| |
| #include <linux/module.h> |
| -#include <linux/init.h> |
| #include <linux/slab.h> |
| #include <linux/err.h> |
| #include <linux/io.h> |
| --- a/drivers/mfd/tps65912-core.c |
| +++ b/drivers/mfd/tps65912-core.c |
| @@ -15,7 +15,6 @@ |
| |
| #include <linux/module.h> |
| #include <linux/moduleparam.h> |
| -#include <linux/init.h> |
| #include <linux/slab.h> |
| #include <linux/gpio.h> |
| #include <linux/mfd/core.h> |
| --- a/drivers/mfd/tps65912-irq.c |
| +++ b/drivers/mfd/tps65912-irq.c |
| @@ -15,7 +15,6 @@ |
| |
| #include <linux/kernel.h> |
| #include <linux/module.h> |
| -#include <linux/init.h> |
| #include <linux/bug.h> |
| #include <linux/device.h> |
| #include <linux/interrupt.h> |
| --- a/drivers/mfd/twl4030-irq.c |
| +++ b/drivers/mfd/twl4030-irq.c |
| @@ -27,7 +27,6 @@ |
| * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
| */ |
| |
| -#include <linux/init.h> |
| #include <linux/export.h> |
| #include <linux/interrupt.h> |
| #include <linux/irq.h> |
| --- a/drivers/mfd/twl4030-madc.c |
| +++ b/drivers/mfd/twl4030-madc.c |
| @@ -29,7 +29,6 @@ |
| * |
| */ |
| |
| -#include <linux/init.h> |
| #include <linux/device.h> |
| #include <linux/interrupt.h> |
| #include <linux/kernel.h> |
| --- a/drivers/mfd/twl6030-irq.c |
| +++ b/drivers/mfd/twl6030-irq.c |
| @@ -31,7 +31,6 @@ |
| * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
| */ |
| |
| -#include <linux/init.h> |
| #include <linux/export.h> |
| #include <linux/interrupt.h> |
| #include <linux/irq.h> |
| --- a/drivers/mfd/vexpress-config.c |
| +++ b/drivers/mfd/vexpress-config.c |
| @@ -16,7 +16,6 @@ |
| #include <linux/bitops.h> |
| #include <linux/completion.h> |
| #include <linux/export.h> |
| -#include <linux/init.h> |
| #include <linux/list.h> |
| #include <linux/of.h> |
| #include <linux/of_device.h> |
| --- a/drivers/mfd/wm8350-core.c |
| +++ b/drivers/mfd/wm8350-core.c |
| @@ -14,7 +14,6 @@ |
| |
| #include <linux/kernel.h> |
| #include <linux/module.h> |
| -#include <linux/init.h> |
| #include <linux/slab.h> |
| #include <linux/bug.h> |
| #include <linux/device.h> |
| --- a/drivers/mfd/wm8350-irq.c |
| +++ b/drivers/mfd/wm8350-irq.c |
| @@ -14,7 +14,6 @@ |
| |
| #include <linux/kernel.h> |
| #include <linux/module.h> |
| -#include <linux/init.h> |
| #include <linux/bug.h> |
| #include <linux/device.h> |
| #include <linux/interrupt.h> |