[media] media: i2c: Convert to devm_gpio_request_one()
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:53:18 +0000 (07:53 -0300)
commitb015ba29ca09b0e3750b4de365d3baf9c5b11450
treebc512024bb642bc2058473c6f73fb45b7a5712c0
parentc02b211df6fc54e51ee554c27a6736a11255a764
[media] media: i2c: Convert to devm_gpio_request_one()

Using the managed function the gpio_free() 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/adv7183.c
drivers/media/i2c/m5mols/m5mols_core.c
drivers/media/i2c/noon010pc30.c
drivers/media/i2c/smiapp/smiapp-core.c
drivers/media/i2c/vs6624.c