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.
Libo Chen (2): net: can: at91_can: use platform_set_drvdata() net: can: flexcan: use platform_set_drvdata() drivers/net/can/at91_can.c | 2 +- drivers/net/can/flexcan.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/