]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ARM: OMAP3+: SmartReflex: class drivers should use struct omap_sr *
authorJean Pihet <j-pihet@ti.com>
Tue, 24 Apr 2012 04:52:12 +0000 (10:22 +0530)
committerKevin Hilman <khilman@ti.com>
Thu, 31 May 2012 23:03:43 +0000 (16:03 -0700)
commit80821c9c90427dd0f9274a82f9d69e43300d10bb
tree3da631260b188c16a85d989e00ea7aab6fc2caf2
parentb86aeafc766b71f6d55e54ed2c77fdf7f56ec1ba
ARM: OMAP3+: SmartReflex: class drivers should use struct omap_sr *

Convert SmartReflex "class" functions to take a struct omap_sr *, rather than
a struct voltagedomain *.  SmartReflex code should be driver code and not
tightly coupled to OMAP subarchitecture-specific structures.

Based on Paul's original code for the SmartReflex driver conversion.

Signed-off-by: Jean Pihet <j-pihet@ti.com>
Signed-off-by: J Keerthy <j-keerthy@ti.com>
Reviewed-by: Kevin Hilman <khilman@ti.com>
Signed-off-by: Kevin Hilman <khilman@ti.com>
arch/arm/mach-omap2/smartreflex-class3.c
arch/arm/mach-omap2/smartreflex.c
include/linux/power/smartreflex.h