USB: s3c-hsudc: use IS_ERR() instead of NULL check
commit004c127ef071e33df99708c2778fdb15564962ce
authorJingoo Han <jg1.han@samsung.com>
Fri, 13 May 2011 12:27:24 +0000 (13 21:27 +0900)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 13 May 2011 22:51:06 +0000 (13 15:51 -0700)
tree2e1039b0f5c02e98d76cdad887017f58d26096d0
parenta0885924326f79e157847010a9aaf49b058b30dc
USB: s3c-hsudc: use IS_ERR() instead of NULL check

clk_get() returns ERR_PTR() on error, not NULL.

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