diff options
author | Jingoo Han <jg1.han@samsung.com> | 2013-05-23 19:44:38 +0900 |
---|---|---|
committer | Wim Van Sebroeck <wim@iguana.be> | 2013-07-11 20:57:25 +0200 |
commit | b94828ffb2261a9803948ccd74f2b75105b1bf87 (patch) | |
tree | 7b91ad23f2015b55453a14947da15f0f76c68648 /drivers/watchdog/ar7_wdt.c | |
parent | a508e2e634f9ea462c3beb56e12aa50ba9e8b0a9 (diff) |
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>
Diffstat (limited to 'drivers/watchdog/ar7_wdt.c')
0 files changed, 0 insertions, 0 deletions