summaryrefslogtreecommitdiff
path: root/drivers/powercap
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2019-03-22 09:38:19 +0300
committerMark Brown <broonie@kernel.org>2019-03-26 16:59:40 +0300
commit253c9c79adbcf79350cb1ae1c801f8df00186455 (patch)
tree9cc2ba90eda3568847f4b170fc3af872c00fb5dc /drivers/powercap
parent883ce2421ed7fc1aaf94ff58d099e9a843345dfa (diff)
downloadlinux-253c9c79adbcf79350cb1ae1c801f8df00186455.tar.xz
regulator: act8865: Convert to regulator core's simplified DT parsing code
Use regulator core's simplified DT parsing code to simply the driver implementation. With this conversion, also move the NULL test against pdata in act8865_get_regulator_data() to the caller. This makes it clear the code path to explicitly set init_data is for non-DT case only. Signed-off-by: Axel Lin <axel.lin@ingics.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/powercap')
0 files changed, 0 insertions, 0 deletions