]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commitc3fd648c71a2cc785afbb6f84d51d7813912952c
tree86ddb5747a7ff044d81da0dc017de724062bdfa2
parenta46fdb65d2cfe7971b6a3e51f750fa391842870d
[media] mt9p031: Use bulk regulator API

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>
drivers/media/i2c/mt9p031.c