[media] mt9p031: Use devm_* managed helpers
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Fri, 21 Dec 2012 19:34:06 +0000 (16:34 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sun, 14 Apr 2013 18:59:35 +0000 (15:59 -0300)
commit37b9f2117f3b4b554315b0e7b357bfabb58a0204
tree3762a9d5adacd5ba148e65204a0a8a7381da8645
parent73254c30db7116c4bae1adffab0dd2ac68486933
[media] mt9p031: Use devm_* managed helpers

Replace kzalloc and gpio_request_one by their managed equivalents.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/i2c/mt9p031.c