diff options
author | Paul Gortmaker <paul.gortmaker@windriver.com> | 2019-02-06 14:11:07 -0500 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2019-02-07 10:44:14 +0000 |
commit | 66265e719b4603ef9a1b8a6c876bcb542c021496 (patch) | |
tree | d63a0ec9b7f3f28c6177d615f8266df5c3f91faf /drivers/mfd/lp87565.c | |
parent | c0056bfe48ab8dfe383c56bc75d1f03260dc9b2a (diff) | |
download | blackbird-op-linux-66265e719b4603ef9a1b8a6c876bcb542c021496.tar.gz blackbird-op-linux-66265e719b4603ef9a1b8a6c876bcb542c021496.zip |
mfd: tps68470: Drop unused MODULE_DEVICE_TABLE
The Kconfig currently controlling compilation of this code is:
drivers/mfd/Kconfig:config MFD_TPS68470
drivers/mfd/Kconfig: bool "TI TPS68470 Power Management / LED chips"
...meaning that it currently is not being built as a module by anyone.
Hence we remove the MODULE_DEVICE_TABLE since it is a no-op for
non-modular code.
There is no removal of <linux/module.h> here because there isn't one.
Instead, it is relying on including that implicitly from an ACPI header.
In cleaning up the ACPI instance of module.h (which also isn't strictly
needed), then this mfd driver breaks when MODULE_DEVICE_TABLE becomes
undefined here.
The easiest dependency solution is to simply defer the ACPI cleanup
until this change is present in mainline.
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/mfd/lp87565.c')
0 files changed, 0 insertions, 0 deletions