]> git.baikalelectronics.ru Git - kernel.git/commit
watchdog: da9052: use platform_{get,set}_drvdata()
authorJingoo Han <jg1.han@samsung.com>
Thu, 23 May 2013 10:44:09 +0000 (19:44 +0900)
committerWim Van Sebroeck <wim@iguana.be>
Thu, 11 Jul 2013 19:08:01 +0000 (21:08 +0200)
commitd0171ba39572c789818da49a54a3d1abca3d4582
tree0d572bd6ccb9ec6eb58e81ad9acb6d5a656cda0f
parentacf419c07513b9da4b3244675b800b8a120c4f84
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>
drivers/watchdog/da9052_wdt.c