linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] Remove unnecessary pci_set_drvdata() and platform_set_drvdata().
@ 2016-05-11 12:35 Sandhya Bankar
  2016-05-11 12:38 ` [PATCH 1/3] usb: pci: Remove unnecessary pci_set_drvdata() Sandhya Bankar
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Sandhya Bankar @ 2016-05-11 12:35 UTC (permalink / raw)
  To: linux-kernel, linux-usb, gregkh, balbi, r.baldyga, saurabh.truth,
	bankarsandhya512, peter.chen, Julia.Lawall

Unnecessary [platform|pci]_set_drvdata() have been removed since the driver core clears the driver datato NULL after device release or on probe failure. There is no need to manually clear the device driver data to NULL.

Sandhya Bankar (3):
  usb: pci: Remove unnecessary pci_set_drvdata().
  usb: dwc3-keystone: Remove unnecessary platform_set_drvdata().
  usb: gr_udec: Remove unnecessary platform_set_drvdata().

 drivers/usb/dwc2/pci.c           | 1 -
 drivers/usb/dwc3/dwc3-keystone.c | 1 -
 drivers/usb/gadget/udc/gr_udc.c  | 1 -
 3 files changed, 3 deletions(-)

-- 
1.8.3.4

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

end of thread, other threads:[~2016-06-08  5:23 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-05-11 12:35 [PATCH 0/3] Remove unnecessary pci_set_drvdata() and platform_set_drvdata() Sandhya Bankar
2016-05-11 12:38 ` [PATCH 1/3] usb: pci: Remove unnecessary pci_set_drvdata() Sandhya Bankar
2016-06-08  5:23   ` Greg KH
2016-05-11 12:42 ` [PATCH 2/3] usb: dwc3-keystone: Remove unnecessary platform_set_drvdata() Sandhya Bankar
2016-05-11 12:46 ` [PATCH 3/3] usb: gr_udc: " Sandhya Bankar

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