Dear Sachin Kamat,

fixing CC here

> 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 <sachin.ka...@linaro.org>
> Cc: Marek Vasut <ma...@denx.de>
> ---
>  drivers/usb/phy/phy-mxs-usb.c |    2 --
>  1 file changed, 2 deletions(-)
> 
> 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;
>  }

Best regards,
Marek Vasut
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to