diff options
author | 2015-07-16 23:46:56 +0530 | |
---|---|---|
committer | 2015-07-16 21:32:58 +0100 | |
commit | fa26e4d2b3cf1c84f20fbc003501bb028f682d92 (patch) | |
tree | c203b4fd0cd4164d05dbb76e184459f12001b2a1 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | regulator: 88pm800: Update driver to use devm_regulator_register fn (diff) | |
download | wireguard-linux-fa26e4d2b3cf1c84f20fbc003501bb028f682d92.tar.xz wireguard-linux-fa26e4d2b3cf1c84f20fbc003501bb028f682d92.zip |
regulator: 88pm800: Use regulator_nodes/of_match in the descriptor
This patch is add regulator_nodes/of_match in the regulator
descriptor for using information from DT instead of specific codes.
With this patch, driver gets simplified,
- No need to maintain "struct of_regulator_match" table
and call of_regulator_match() fn.
- No need for pm800_regulator_dt_init() fn, as it was only
used for of_regulator_match().
- probe() fn got simplified around regulator_config and regulator_desc
initialization.
Signed-off-by: Vaibhav Hiremath <vaibhav.hiremath@linaro.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions