OSDN Git Service

spi: omap2-mcspi: Call pm_runtime_* functions directly
authorShubhrajyoti D <shubhrajyoti@ti.com>
Wed, 22 Aug 2012 06:05:12 +0000 (11:35 +0530)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 22 Aug 2012 16:58:02 +0000 (17:58 +0100)
commit034d3dc9886054384d2a64f2c954ecbb11ce88c8
tree51496f33bdfaf2a311d21cc49a5c7ed93e3ea1ec
parentaf4e944dbda418034d1b08628b10e753369fbdc7
spi: omap2-mcspi: Call pm_runtime_* functions directly

Call the pm_runtime functions directly making room for possible
pm optimisations. Also the runtime functions aren't just about
enabling and disabling of clocks though it does enable clocks also.

Acked-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Shubhrajyoti D <shubhrajyoti@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/spi/spi-omap2-mcspi.c