mfd: twl4030-power: Accept standard property for power controller
authorAndreas Kemnade <andreas@kemnade.info>
Sat, 17 Feb 2024 08:20:07 +0000 (09:20 +0100)
committerLee Jones <lee@kernel.org>
Fri, 23 Feb 2024 16:12:03 +0000 (16:12 +0000)
commit8ba560ec14267af1169e1f5407fbce514fd4f6f6
tree242e2f229d038a0e548c081734aef1d6a92fd559
parentca9414a1d08756c8392f9219caee607e1b7bade1
mfd: twl4030-power: Accept standard property for power controller

Instead of only accepting the ti specific properties accept also
the standard property. For uniformity, search in the parent node
for the tag. The code for powering off is also isolated from the
rest in this file. So it is a pure Linux design decision to put it
here.

Signed-off-by: Andreas Kemnade <andreas@kemnade.info>
Link: https://lore.kernel.org/r/20240217082007.3238948-6-andreas@kemnade.info
Signed-off-by: Lee Jones <lee@kernel.org>
drivers/mfd/twl4030-power.c