[media] mt9p031: Use bulk regulator API
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Sat, 8 Jun 2013 07:50:42 +0000 (04:50 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 17 Jun 2013 14:32:10 +0000 (11:32 -0300)
The sensor is powered by three supplies. Use the bulk regulator API to
enable and disable them instead of performing the operations manually.
This fixes a warning caused by ignoring the return value of
regulator_enable().

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>

No differences found