diff options
author | Jingoo Han <jg1.han@samsung.com> | 2013-05-23 19:44:09 +0900 |
---|---|---|
committer | Wim Van Sebroeck <wim@iguana.be> | 2013-07-11 21:08:01 +0200 |
commit | 552a96415ff297475c20a05d384398ef1c729794 (patch) | |
tree | 0d572bd6ccb9ec6eb58e81ad9acb6d5a656cda0f /drivers/watchdog/da9055_wdt.c | |
parent | 26556b6e0bf044622a5d3dcade0ac6657b23c2a7 (diff) | |
download | op-kernel-dev-552a96415ff297475c20a05d384398ef1c729794.zip op-kernel-dev-552a96415ff297475c20a05d384398ef1c729794.tar.gz |
watchdog: da9052: 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/da9055_wdt.c')
0 files changed, 0 insertions, 0 deletions