PM / shmobile: Make MTU2 driver use pm_genpd_dev_always_on()
authorRafael J. Wysocki <rjw@sisk.pl>
Tue, 13 Mar 2012 21:40:14 +0000 (22:40 +0100)
committerRafael J. Wysocki <rjw@sisk.pl>
Fri, 16 Mar 2012 20:45:26 +0000 (21:45 +0100)
commit57d13370cfaf6017c68981e66ff5b3bf20a2705c
tree711ab528fbe521c77fb3c0128d69cf3471a35b11
parent615a445f7f8a077c145e737864ae59a4d8717882
PM / shmobile: Make MTU2 driver use pm_genpd_dev_always_on()

Make the MTU2 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_mtu2.c