diff options
author | Vaibhav Hiremath <vaibhav.hiremath@linaro.org> | 2015-07-16 23:46:55 +0530 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-07-16 21:32:58 +0100 |
commit | a07d94a54b93d94d8cb990ffe018c595cfb94662 (patch) | |
tree | 41854d19d6b839c7c200b3e8c807b4f3754dbc17 /drivers/gpu/drm/omapdrm/omap_plane.c | |
parent | 4d45c70bfb3ffe55fad1d1681feaec2094f4da3b (diff) |
regulator: 88pm800: Update driver to use devm_regulator_register fn
This patch replaces standard regulator_register with
devm_regulator_register() fn, as using devm_regulator_register() fn
simplifies the driver return/exit path.
As part of this update, patch also cleanups up all unnecessary changes
which is result of this patch -
- Remove _remove() fn, as devm_ variant takes care of it.
- Remove pm800_regulators.regulators[] field, as it was only
needed during cleanup, so we no longer need this.
This also saved some amount of memory.
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