diff options
author | Sylwester Nawrocki <s.nawrocki@samsung.com> | 2013-04-18 08:55:23 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2013-04-25 09:35:23 -0300 |
commit | b2afa23669ffb30173c010ccab1f6d1d4d0c82fb (patch) | |
tree | b206d6ae2070ab8950bfcd2e4956d53f3aab6181 /drivers/pinctrl/pinctrl-pxa3xx.h | |
parent | 5a66561f426d4a10bce077ba90ab127e6a27ac3d (diff) | |
download | talos-obmc-linux-b2afa23669ffb30173c010ccab1f6d1d4d0c82fb.tar.gz talos-obmc-linux-b2afa23669ffb30173c010ccab1f6d1d4d0c82fb.zip |
[media] exynos4-is: Fix regulator/gpio resource releasing on the driver removal
Remove regulator_bulk_free() calls as devm_regulator_bulk_get() function
is used to get the regulators so those will be freed automatically while
the driver is removed.
Missing gpio free is fixed by requesting a gpio with the devm_* API.
All that is done now in the I2C client driver remove() callback is the
media entity cleanup call.
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/pinctrl/pinctrl-pxa3xx.h')
0 files changed, 0 insertions, 0 deletions