PM / shmobile: Make CMT driver use pm_genpd_dev_always_on()
authorRafael J. Wysocki <rjw@sisk.pl>
Tue, 13 Mar 2012 21:40:06 +0000 (22:40 +0100)
committerRafael J. Wysocki <rjw@sisk.pl>
Fri, 16 Mar 2012 20:45:13 +0000 (21:45 +0100)
commit615a445f7f8a077c145e737864ae59a4d8717882
tree2b10b03ffbf1c4da04340759da224909877bfce5
parent2ee619f9487c2acc1efdf2c78e68e2bd51b635fa
PM / shmobile: Make CMT driver use pm_genpd_dev_always_on()

Make the CMT clocksource driver mark its device as "always on"
using pm_genpd_dev_always_on() to protect it from surprise power
removals.

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>
Cc: stable@vger.kernel.org
drivers/clocksource/sh_cmt.c