PM / shmobile: Make TMU driver use pm_genpd_dev_always_on()
authorRafael J. Wysocki <rjw@sisk.pl>
Mon, 26 Mar 2012 21:26:10 +0000 (23:26 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 2 Apr 2012 17:32:10 +0000 (10:32 -0700)
commit14dbd9a0e642ff89604ee177cd08c7809b323f1f
treedb444cdf1c54a70a1a2649a02beb523dd91c8832
parent166a1687a4d1ad2fa237452355a5ec018dc68cc5
PM / shmobile: Make TMU driver use pm_genpd_dev_always_on()

Commit 2ee619f9487c2acc1efdf2c78e68e2bd51b635fa upstream.

Make the TMU clocksource driver mark its device as "always on"
using pm_genpd_dev_always_on() to protect it from surprise power
removals and make sh7372_add_standard_devices() add TMU devices on
sh7372 to the A4R power domain so that their "always on" flags
are taken into account as appropriate.

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Tested-by: Simon Horman <horms@verge.net.au>
Acked-by: Paul Mundt <lethal@linux-sh.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/arm/mach-shmobile/setup-sh7372.c
drivers/clocksource/sh_tmu.c