[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <cover.1462967567.git.bankarsandhya512@gmail.com>
Date: Wed, 11 May 2016 18:05:05 +0530
From: Sandhya Bankar <bankarsandhya512@...il.com>
To: linux-kernel@...r.kernel.org, linux-usb@...r.kernel.org,
gregkh@...uxfoundation.org, balbi@...nel.org,
r.baldyga@...sung.com, saurabh.truth@...il.com,
bankarsandhya512@...il.com, peter.chen@...escale.com,
Julia.Lawall@...6.fr
Subject: [PATCH 0/3] Remove unnecessary pci_set_drvdata() and
platform_set_drvdata().
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
Powered by blists - more mailing lists