From 88d2baaf6bc82cf162ea87a3136f957fbb9273f4 Mon Sep 17 00:00:00 2001 From: Sachin Kamat Date: Mon, 6 May 2013 17:22:20 +0530 Subject: [PATCH] --- yaml --- r: 375970 b: refs/heads/master c: a9b1bddc7a171c89b4fd4c132202b5b2118f3905 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/drivers/usb/phy/phy-gpio-vbus-usb.c | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/[refs] b/[refs] index e778b6b2be4b..6b53c82b72fc 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: c8a0b5c687bfc3fce4bcc6a1e7c354f40b38bbc9 +refs/heads/master: a9b1bddc7a171c89b4fd4c132202b5b2118f3905 diff --git a/trunk/drivers/usb/phy/phy-gpio-vbus-usb.c b/trunk/drivers/usb/phy/phy-gpio-vbus-usb.c index 4c76074e518d..1d32af2ee403 100644 --- a/trunk/drivers/usb/phy/phy-gpio-vbus-usb.c +++ b/trunk/drivers/usb/phy/phy-gpio-vbus-usb.c @@ -343,7 +343,6 @@ static int __init gpio_vbus_probe(struct platform_device *pdev) gpio_free(pdata->gpio_pullup); gpio_free(pdata->gpio_vbus); err_gpio: - platform_set_drvdata(pdev, NULL); kfree(gpio_vbus->phy.otg); kfree(gpio_vbus); return err; @@ -365,7 +364,6 @@ static int __exit gpio_vbus_remove(struct platform_device *pdev) if (gpio_is_valid(pdata->gpio_pullup)) gpio_free(pdata->gpio_pullup); gpio_free(gpio); - platform_set_drvdata(pdev, NULL); kfree(gpio_vbus->phy.otg); kfree(gpio_vbus);