+ drivers-memstick-host-rtsx_pci_msc-remove-unnecessary-platform_set_drvdata.patch added to -mm tree
Subject: + drivers-memstick-host-rtsx_pci_msc-remove-unnecessary-platform_set_drvdata.patch added to -mm tree
To: [email protected],[email protected]
From: [email protected]
Date: Thu, 22 Aug 2013 14:19:32 -0700
The patch titled
Subject: drivers/memstick/host/rtsx_pci_ms.c: remove unnecessary platform_set_drvdata()
has been added to the -mm tree. Its filename is
drivers-memstick-host-rtsx_pci_msc-remove-unnecessary-platform_set_drvdata.patch
This patch should soon appear at
http://ozlabs.org/~akpm/mmots/broken-out/drivers-memstick-host-rtsx_pci_msc-remove-unnecessary-platform_set_drvdata.patch
and later at
http://ozlabs.org/~akpm/mmotm/broken-out/drivers-memstick-host-rtsx_pci_msc-remove-unnecessary-platform_set_drvdata.patch
Before you just go and hit "reply", please:
a) Consider who else should be cc'ed
b) Prefer to cc a suitable mailing list as well
c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's
*** Remember to use Documentation/SubmitChecklist when testing your code ***
The -mm tree is included into linux-next and is updated there every 3-4 working days
------------------------------------------------------
From: Jingoo Han <[email protected]>
Subject: drivers/memstick/host/rtsx_pci_ms.c: remove unnecessary platform_set_drvdata()
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/memstick/host/rtsx_pci_ms.c | 2 -- 1 file changed, 2 deletions(-)
drivers/memstick/host/rtsx_pci_ms.c renamed from drivers/memstick/host/rtsx_pci_ms.c~drivers-memstick-host-rtsx_pci_msc-remove-unnecessary-platform_set_drvdata +0 -1
@@ -613,8 +613,6 @@ static int rtsx_pci_ms_drv_remove(structmemstick_remove_host (msh);memstick_free_host (msh); -platform_set_drvdata (pdev,NULL );