usb: gadget: atmel_usba_udc: 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.

Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Felipe Balbi <balbi@ti.com>
This commit is contained in:
Sachin Kamat 2013-05-06 17:07:19 +05:30 committed by Felipe Balbi
parent 21c7dee52c
commit fb00d6931a
1 changed files with 0 additions and 2 deletions

View File

@ -1992,8 +1992,6 @@ err_map_regs:
err_get_hclk:
clk_put(pclk);
platform_set_drvdata(pdev, NULL);
return ret;
}