Re: [PATCH 5/5] watchdog: wm831x: use platform_{get,set}_drvdata()

From: Wim Van Sebroeck
Date: Sun May 26 2013 - 09:13:33 EST


Hi Jingoo,

> 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@xxxxxxxxxxx>
> ---
> drivers/watchdog/wm831x_wdt.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>

Patch added to linux-watchdog-next.

Kind regards,
Wim.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/