]> git.karo-electronics.de Git - karo-tx-linux.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)
commit7997196cb4fda8a5ad3570a5645bdc73024554ca
tree86ddb5747a7ff044d81da0dc017de724062bdfa2
parent8d4da37c3006f30a7cf75cd7bb33b254afc30279
[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