netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] net: can: use platform_set_drvdata()
@ 2013-08-21 10:14 Libo Chen
  0 siblings, 0 replies; only message in thread
From: Libo Chen @ 2013-08-21 10:14 UTC (permalink / raw)
  To: wg, mkl; +Cc: davem, linux-can, lizefan, netdev, linux-kernel, 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.

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(-)



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-08-21 10:14 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-21 10:14 [PATCH 0/2] net: can: use platform_set_drvdata() Libo Chen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).