[PATCH 1/2] net: can: at91_can: use platform_set_drvdata()

2013-08-21 Thread Libo Chen
Use the wrapper functions for getting and setting the driver data using platform_device instead of using dev_set_drvdata() with &pdev->dev, so we can directly pass a struct platform_device. Signed-off-by: Libo Chen --- drivers/net/can/at91_can.c |2 +- 1 files changed, 1 insertions(+), 1 del

Re: [PATCH 1/2] net: can: at91_can: use platform_set_drvdata()

2013-08-21 Thread Marc Kleine-Budde
On 08/21/2013 12:15 PM, Libo Chen wrote: > Use the wrapper functions for getting and setting the driver data using > platform_device instead of using dev_set_drvdata() with &pdev->dev, > so we can directly pass a struct platform_device. > > Signed-off-by: Libo Chen tnx, applied. Marc -- Pengut