commit | b015ba29ca09b0e3750b4de365d3baf9c5b11450 | [log] [tgz] |
---|---|---|
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | Thu May 02 08:29:43 2013 -0300 |
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | Tue May 21 07:53:18 2013 -0300 |
tree | bc512024bb642bc2058473c6f73fb45b7a5712c0 | |
parent | c02b211df6fc54e51ee554c27a6736a11255a764 [diff] |
[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>