usb: musb: omap2430: add missing platform_device_put() on error in omap2430_probe()
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Fri, 26 Apr 2013 06:27:09 +0000 (14:27 +0800)
committerFelipe Balbi <balbi@ti.com>
Wed, 15 May 2013 14:19:12 +0000 (17:19 +0300)
commit4b7e450fb5cefb5865c77999a675330206ab3b8a
tree24c22789f6de2b92e06fd1d06480b73e2d3ba3e9
parentc8c18883ba8b8c7f2d9d463c8cf948b944e3c2df
usb: musb: omap2430: add missing platform_device_put() on error in omap2430_probe()

Add the missing platform_device_put() before return from
omap2430_probe() in the error handling case.

Introduced by commit ca784be36cc725bca9b526eba342de7550329731
(usb: start using the control module driver)

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/musb/omap2430.c
This page took 0.024016 seconds and 5 git commands to generate.