diff options
author | Dmitry Rozhkov <dmitry.rozhkov@linux.intel.com> | 2018-07-24 14:27:31 +0300 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2018-07-25 13:41:52 +0200 |
commit | 3461dfbabcc40d48c7b4b3ebb26a4ec927303e16 (patch) | |
tree | 39cd792150c37ce684d80b2791228c1557b7f76b /drivers/acpi/battery.c | |
parent | 82f2d30570b7ecdf1ce7e6376805f063ae86a7e5 (diff) | |
download | lwn-3461dfbabcc40d48c7b4b3ebb26a4ec927303e16.tar.gz lwn-3461dfbabcc40d48c7b4b3ebb26a4ec927303e16.zip |
ACPI / battery: drop inclusion of init.h
The driver can be built as a module thus inclusion of init.h is
redundant in battery.c since it's always included by module.h.
Suggested-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Dmitry Rozhkov <dmitry.rozhkov@linux.intel.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi/battery.c')
-rw-r--r-- | drivers/acpi/battery.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/acpi/battery.c b/drivers/acpi/battery.c index 78e40a9f5e18..642e51f8f412 100644 --- a/drivers/acpi/battery.c +++ b/drivers/acpi/battery.c @@ -27,7 +27,6 @@ #include <linux/list.h> #include <linux/module.h> #include <linux/mutex.h> -#include <linux/init.h> #include <linux/types.h> #include <linux/jiffies.h> #include <linux/async.h> |