From: Sachin Kamat Date: Mon, 6 May 2013 11:52:22 +0000 (+0530) Subject: usb: phy: mxs-usb: Remove redundant platform_set_drvdata() X-Git-Tag: v3.10-rc3~26^2~26^2~15 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=99f80cfc00084a4aa87372095cca7a279db12ce2;p=profile%2Fivi%2Fkernel-x86-ivi.git usb: phy: mxs-usb: Remove redundant platform_set_drvdata() Commit 0998d06310 (device-core: Ensure drvdata = NULL when no driver is bound) removes the need to set driver data field to NULL. Signed-off-by: Sachin Kamat Cc: Marek Vasut Signed-off-by: Felipe Balbi --- diff --git a/drivers/usb/phy/phy-mxs-usb.c b/drivers/usb/phy/phy-mxs-usb.c index 9d4381e..3b64277 100644 --- a/drivers/usb/phy/phy-mxs-usb.c +++ b/drivers/usb/phy/phy-mxs-usb.c @@ -180,8 +180,6 @@ static int mxs_phy_remove(struct platform_device *pdev) usb_remove_phy(&mxs_phy->phy); - platform_set_drvdata(pdev, NULL); - return 0; }