diff options
author | Vaibhav Hiremath <vaibhav.hiremath@linaro.org> | 2015-07-16 23:46:56 +0530 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-07-16 21:32:58 +0100 |
commit | fa26e4d2b3cf1c84f20fbc003501bb028f682d92 (patch) | |
tree | c203b4fd0cd4164d05dbb76e184459f12001b2a1 /drivers/gpu/drm/omapdrm/omap_plane.c | |
parent | a07d94a54b93d94d8cb990ffe018c595cfb94662 (diff) |
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 'drivers/gpu/drm/omapdrm/omap_plane.c')
0 files changed, 0 insertions, 0 deletions