power: reset: sc27xx: Allow the SC27XX poweroff driver building into a module
authorBaolin Wang <baolin.wang7@gmail.com>
Mon, 9 Mar 2020 08:18:46 +0000 (16:18 +0800)
committerSebastian Reichel <sebastian.reichel@collabora.com>
Wed, 11 Mar 2020 22:32:09 +0000 (23:32 +0100)
commitf78c55e3b4806974f7d590b2aab8683232b7bd25
tree53a07071f5307d30f620a485f4f602fc80873c74
parent274afbc3ad33136962d66447e89d02e3c142a30a
power: reset: sc27xx: Allow the SC27XX poweroff driver building into a module

Change the config to 'tristate' and use module_platform_driver() to
allow the SC27XX poweroff driver building into a module, as well as
adding some mudule information.

Signed-off-by: Baolin Wang <baolin.wang7@gmail.com>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
drivers/power/reset/Kconfig
drivers/power/reset/sc27xx-poweroff.c