]> git.karo-electronics.de Git - karo-tx-linux.git/commit
watchdog: riowd: use platform_{get,set}_drvdata()
authorJingoo Han <jg1.han@samsung.com>
Thu, 23 May 2013 10:44:38 +0000 (19:44 +0900)
committerWim Van Sebroeck <wim@iguana.be>
Thu, 11 Jul 2013 18:57:25 +0000 (20:57 +0200)
commitb94828ffb2261a9803948ccd74f2b75105b1bf87
tree7b91ad23f2015b55453a14947da15f0f76c68648
parenta508e2e634f9ea462c3beb56e12aa50ba9e8b0a9
watchdog: riowd: use platform_{get,set}_drvdata()

Use the wrapper functions for getting and setting the driver data using
platform_device instead of using dev_{get,set}_drvdata() with &pdev->dev,
so we can directly pass a struct platform_device.

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
drivers/watchdog/riowd.c