regulator: act8945a-regulator: add shutdown function
authorClaudiu Beznea <claudiu.beznea@microchip.com>
Tue, 11 Dec 2018 15:56:50 +0000 (15:56 +0000)
committerMark Brown <broonie@kernel.org>
Wed, 12 Dec 2018 16:59:35 +0000 (16:59 +0000)
commitb5ebba46e694a6e8e4322a80bb2a5a448f8f8b04
tree124f11e7254b22c4a34178cc8388c3c1c3e5027d
parent03ffbf9c0891caf8723c81967ceea5faf5d099d5
regulator: act8945a-regulator: add shutdown function

Implement shutdown method to make sure the PMIC will not enter the suspend
state when the system is shutdown.

This work is based on work done by Borris Brezillon on [1].

[1] https://www.spinics.net/lists/kernel/msg2942960.html

Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/act8945a-regulator.c