]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
power/reset: at91-poweroff: allow compiling as a module
authorAlexandre Belloni <alexandre.belloni@free-electrons.com>
Tue, 11 Aug 2015 09:12:49 +0000 (11:12 +0200)
committerSebastian Reichel <sre@kernel.org>
Tue, 22 Sep 2015 13:18:53 +0000 (15:18 +0200)
commit6dd1ad1f236e7e683e92efd6b5b3953615900701
treec09019d2e4a890eb1d4c711b0f524297b0321e87
parent2b2c6148fe851042cefbf272146b77634a4da39d
power/reset: at91-poweroff: allow compiling as a module

It was not possible to compile at91-poweroff as a module. Implement
.remove() to allow it. Also switch to module_platform_driver_probe() as it
is not hotpluggable.

Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Signed-off-by: Sebastian Reichel <sre@kernel.org>
drivers/power/reset/Kconfig
drivers/power/reset/at91-poweroff.c