Re: [PATCH 2/2] net: can: flexcan: 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

[PATCH 2/2] net: can: flexcan: 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/flexcan.c |2 +- 1 files changed, 1 insertions(+), 1 dele