regulator: bd9571mwv: Use "backup_mode" sysfs file instead of "wake_up"
authorGeert Uytterhoeven <geert+renesas@glider.be>
Mon, 16 Jul 2018 15:30:50 +0000 (17:30 +0200)
committerMark Brown <broonie@kernel.org>
Wed, 18 Jul 2018 12:10:06 +0000 (13:10 +0100)
commit02b3a073c12edc8cbc18e07e8880a32e78c1aee0
treee15a59b2b0cbb8f430d0a82264b44c17582d18c9
parent9df4f90954c860b9715f8fbca521781d8d5cf280
regulator: bd9571mwv: Use "backup_mode" sysfs file instead of "wake_up"

Currently the BD9571MWV PMIC driver uses the standard "wake_up" sysfs
file to control enablement of DDR Backup Mode.

However, configuring DDR Backup Mode is not really equivalent to
configuring the PMIC as a wake-up source.  To avoid confusion, use a
custom "backup_mode" attribute file in sysfs instead.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/bd9571mwv-regulator.c