[media] s5k6aa: 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:55:45 +0000 (07:55 -0300)
commit31857e54fa5a6e39d2d24dc912135bb0d26a6db9
tree0559679c0405868ed2036265bec56ef7e208df32
parent598d8d1e4c0bd21a992c52fe0adc69e0b3117a41
[media] s5k6aa: Convert to devm_gpio_request_one()

Use the devm_gpio_request_one() managed function to simplify cleanup
code paths.

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/s5k6aa.c