]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
watchdog: da9055: use platform_{get,set}_drvdata()
authorJingoo Han <jg1.han@samsung.com>
Thu, 23 May 2013 10:44:23 +0000 (19:44 +0900)
committerWim Van Sebroeck <wim@iguana.be>
Thu, 11 Jul 2013 19:08:27 +0000 (21:08 +0200)
commit76692c944cd8e85d833dc30d7346463e18b6d30e
tree665e72867f10b48524cd459b99cbeffaf8999bc1
parent552a96415ff297475c20a05d384398ef1c729794
watchdog: da9055: 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/da9055_wdt.c