OMAP3+: SR: make notify independent of class
authorNishanth Menon <nm@ti.com>
Mon, 14 Feb 2011 06:46:36 +0000 (12:16 +0530)
committerKevin Hilman <khilman@ti.com>
Mon, 20 Jun 2011 21:12:31 +0000 (14:12 -0700)
commit7a89afa8cfb2cb614d0b8912f19ee98124feeb51
treebcb43996236d025ad7d3fa634997b2ee89eed2f1
parentb8ce9fb8e18af7466e0b915bb5979322cdace322
OMAP3+: SR: make notify independent of class

Interrupt notification mechanism of SmartReflex can be used by the
choice of implementation of the class driver. For example, Class 2 and
Class 1.5 of SmartReflex can both use the interrupt notification to
identify the transition of voltage or other events.

Hence, the actual class does not matter for notifier. Let the class
driver's handling decide how it should be used. SmartReflex driver
should provide just the primitives.

Signed-off-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Kevin Hilman <khilman@ti.com>
arch/arm/mach-omap2/smartreflex.c