video: s3c-fb: return proper error if clk_get fails
authoraxel lin <axel.lin@gmail.com>
Fri, 11 Feb 2011 08:51:10 +0000 (08:51 +0000)
committerPaul Mundt <lethal@linux-sh.org>
Tue, 22 Mar 2011 07:22:45 +0000 (16:22 +0900)
commit942b8d05cdf1da396b4449a38b87c677591947c0
treeb1909ac784a2e4e7db9bccbab173ec79c1759849
parent803a4e14a7dceaf01dbc0e02c0fdea2eba4c81b3
video: s3c-fb: return proper error if clk_get fails

Return PTR_ERR(sfb->bus_clk) instead of 0 if clk_get fails.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
drivers/video/s3c-fb.c