watchdog: dw_wdt: convert to SIMPLE_DEV_PM_OPS
authorHeiko Stübner <heiko@sntech.de>
Wed, 26 Jun 2013 18:03:52 +0000 (20:03 +0200)
committerWim Van Sebroeck <wim@iguana.be>
Sun, 17 Nov 2013 18:30:06 +0000 (19:30 +0100)
commitad83c6cbf30eba322fbc822453316a4954d9b607
treefaa77dd0259b92a2a35307f6d7032ae92b8d7983
parent1213959d4ad2f523290d0d7c94f712edef63852c
watchdog: dw_wdt: convert to SIMPLE_DEV_PM_OPS

The dw_wdt only provides PM_SLEEP operations, so convert the driver
to use SIMPLE_DEV_PM_OPS instead of populating the struct manually.
This has the added effect of simplifying the CONFIG_PM ifdefs.

Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
drivers/watchdog/dw_wdt.c