linux-can.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] can: remove unnecessary pci_set_drvdata()
@ 2013-09-10 11:05 Jingoo Han
  2013-09-10 11:08 ` [PATCH 1/3] can: c_can: " Jingoo Han
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Jingoo Han @ 2013-09-10 11:05 UTC (permalink / raw)
  To: 'Marc Kleine-Budde'
  Cc: 'Wolfgang Grandegger', linux-can, 'Jingoo Han'

Since commit 0998d0631001288a5974afc0b2a5f568bcdecb4d
(device-core: Ensure drvdata = NULL when no driver is bound),
the driver core clears the driver data to NULL after device_release
or on probe failure. Thus, it is not needed to manually clear the
device driver data to NULL.

---
 drivers/net/can/c_can/c_can_pci.c    |    2 --
 drivers/net/can/pch_can.c            |    1 -
 drivers/net/can/sja1000/ems_pci.c    |    1 -
 drivers/net/can/sja1000/kvaser_pci.c |    1 -
 drivers/net/can/sja1000/peak_pci.c   |    2 --
 drivers/net/can/sja1000/plx_pci.c    |    1 -
 6 files changed, 8 deletions(-)


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-09-10 11:17 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-10 11:05 [PATCH 0/3] can: remove unnecessary pci_set_drvdata() Jingoo Han
2013-09-10 11:08 ` [PATCH 1/3] can: c_can: " Jingoo Han
2013-09-10 11:10 ` [PATCH 2/3] can: pch_can: " Jingoo Han
2013-09-10 11:12 ` [PATCH 3/3] can: sja1000: " Jingoo Han
2013-09-10 11:17 ` [PATCH 0/3] can: " Marc Kleine-Budde

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