diff options
author | Axel Lin <axel.lin@ingics.com> | 2019-03-22 07:38:19 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2019-03-26 14:59:40 +0100 |
commit | 253c9c79adbcf79350cb1ae1c801f8df00186455 (patch) | |
tree | 9cc2ba90eda3568847f4b170fc3af872c00fb5dc /drivers/target/iscsi | |
parent | regulator: sc2731: Constify regulators (diff) | |
download | linux-253c9c79adbcf79350cb1ae1c801f8df00186455.tar.xz linux-253c9c79adbcf79350cb1ae1c801f8df00186455.zip |
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/target/iscsi')
0 files changed, 0 insertions, 0 deletions