commit | 26556b6e0bf044622a5d3dcade0ac6657b23c2a7 | [log] [tgz] |
---|---|---|
author | Jingoo Han <jg1.han@samsung.com> | Thu May 23 19:43:43 2013 +0900 |
committer | Wim Van Sebroeck <wim@iguana.be> | Thu Jul 11 21:07:24 2013 +0200 |
tree | cf3bb881e57d850fb4a90840555e064862656554 | |
parent | 0183984c61fdd298dde717ff1c5c2f6ce2ef3f73 [diff] |
watchdog: cpwd: 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>