USB: ohci-s3c2410: return proper error if clk_get fails
authorJingoo Han <jg1.han@samsung.com>
Wed, 4 May 2011 23:46:07 +0000 (08:46 +0900)
committerGreg Kroah-Hartman <gregkh@suse.de>
Sat, 7 May 2011 01:16:40 +0000 (18:16 -0700)
commit69248d4281fda03dd4da982e1d51f6b22cf1a109
treed790223b2456edc693fe22c4b12fc5f6d7e6e121
parent7af85a85878bd1a2695408e5856aba8ef9f71b60
USB: ohci-s3c2410: return proper error if clk_get fails

Return PTR_ERR(clk) instead of -ENOENT if clk_get fails

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/host/ohci-s3c2410.c