[media] media: i2c: Convert to devm_regulator_bulk_get()
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Thu, 2 May 2013 11:29:43 +0000 (08:29 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 21 May 2013 10:54:43 +0000 (07:54 -0300)
commit07e0e5b287421fcc4f4dbe2c0c8bfbc02e23a51e
treeacc47811d97278e814ae637da0fe88afe2ce7761
parentb015ba29ca09b0e3750b4de365d3baf9c5b11450
[media] media: i2c: Convert to devm_regulator_bulk_get()

Using the managed function the regulator_bulk_put() calls can be removed
from the probe error path and the remove handler.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/i2c/m5mols/m5mols_core.c
drivers/media/i2c/noon010pc30.c