media: video: tegra: pass device as argument in power_on
authorMallikarjun Kasoju <mkasoju@nvidia.com>
Fri, 12 Oct 2012 16:04:17 +0000 (21:04 +0530)
committerMrutyunjay Sawant <msawant@nvidia.com>
Mon, 15 Oct 2012 13:41:05 +0000 (06:41 -0700)
commitad124e8e3c6cf18517e8984a3493347a8cac842c
treeaba071307140179409018ba3a4ce8292314dfbf7
parent9e19d5d7f4ec19d9174ff010487bd3a7879aafa0
media: video: tegra: pass device as argument in power_on

modify power_on api to pass device as argument so that from
board files it can be used to get the regulator in place of NULL

Bug 1154495

Change-Id: I5164fa04a14ef0d405e6c9d51f42efc8e6ce14bf
Signed-off-by: Mallikarjun Kasoju <mkasoju@nvidia.com>
Reviewed-on: http://git-master/r/143748
Reviewed-by: Mrutyunjay Sawant <msawant@nvidia.com>
Tested-by: Mrutyunjay Sawant <msawant@nvidia.com>
28 files changed:
arch/arm/mach-tegra/board-cardhu-sensors.c
arch/arm/mach-tegra/board-curacao-sensors.c
arch/arm/mach-tegra/board-dalmore-sensors.c
arch/arm/mach-tegra/board-enterprise-sensors.c
arch/arm/mach-tegra/board-kai-sensors.c
arch/arm/mach-tegra/board-pluto-sensors.c
arch/arm/mach-tegra/board-ventana-sensors.c
arch/arm/mach-tegra/board-whistler-sensors.c
drivers/media/video/tegra/ar0832_main.c
drivers/media/video/tegra/imx091.c
drivers/media/video/tegra/imx132.c
drivers/media/video/tegra/ov14810.c
drivers/media/video/tegra/ov2710.c
drivers/media/video/tegra/ov5640.c
drivers/media/video/tegra/ov5650.c
drivers/media/video/tegra/ov9726.c
drivers/media/video/tegra/ov9772.c
drivers/media/video/tegra/soc380.c
include/media/ar0832_main.h
include/media/imx091.h
include/media/imx132.h
include/media/ov14810.h
include/media/ov2710.h
include/media/ov5640.h
include/media/ov5650.h
include/media/ov9726.h
include/media/ov9772.h
include/media/soc380.h