From: Sandhya Bankar <bankarsandhya512@gmail.com>
To: linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org,
gregkh@linuxfoundation.org, balbi@kernel.org,
r.baldyga@samsung.com, saurabh.truth@gmail.com,
bankarsandhya512@gmail.com, peter.chen@freescale.com,
Julia.Lawall@lip6.fr
Subject: [PATCH 0/3] Remove unnecessary pci_set_drvdata() and platform_set_drvdata().
Date: Wed, 11 May 2016 18:05:05 +0530 [thread overview]
Message-ID: <cover.1462967567.git.bankarsandhya512@gmail.com> (raw)
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
next reply other threads:[~2016-05-11 19:35 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-11 12:35 Sandhya Bankar [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1462967567.git.bankarsandhya512@gmail.com \
--to=bankarsandhya512@gmail.com \
--cc=Julia.Lawall@lip6.fr \
--cc=balbi@kernel.org \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=peter.chen@freescale.com \
--cc=r.baldyga@samsung.com \
--cc=saurabh.truth@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox