watchdog: wm831x: 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>
Loading
Please register or sign in to comment