usb: phy: ab8500-usb: convert to devm_kzalloc
authorFabio Baltieri <fabio.baltieri@linaro.org>
Wed, 3 Apr 2013 08:45:03 +0000 (10:45 +0200)
committerFelipe Balbi <balbi@ti.com>
Wed, 3 Apr 2013 08:55:48 +0000 (11:55 +0300)
commit81ef6724302e0c7ba3f087403de24760601b1839
treee1e8904f1db20a1b951e4d4409377196f8bc8470
parent3ee1f2e6e51581d5cb9c312161a9a9b2f18f25bf
usb: phy: ab8500-usb: convert to devm_kzalloc

Convert local data allocation to devm_kzalloc and drop unnecessary fail
path code.

Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Fabio Baltieri <fabio.baltieri@linaro.org>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/phy/phy-ab8500-usb.c