diff options
author | Jamie Iles <jamie@jamieiles.com> | 2011-01-11 13:43:43 +0100 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2011-01-12 07:00:32 +0100 |
commit | ec03031707a348578c6ded277e5d92eb21de4fce (patch) | |
tree | 4adf97316956eb4b48235c12f7dbaebd76ea97e3 /arch/sh/include/mach-sh03/mach | |
parent | s3c2410fb: don't treat NULL clk as an error (diff) | |
download | linux-ec03031707a348578c6ded277e5d92eb21de4fce.tar.xz linux-ec03031707a348578c6ded277e5d92eb21de4fce.zip |
nuc900fb: don't treat NULL clk as an error
clk_get() returns a struct clk cookie to the driver and some platforms
may return NULL if they only support a single clock. clk_get() has only
failed if it returns a ERR_PTR() encoded pointer.
Cc: linux-fbdev@vger.kernel.org
Signed-off-by: Jamie Iles <jamie@jamieiles.com>
Acked-by: Wan ZongShun <mcuos.com@gmail.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/include/mach-sh03/mach')
0 files changed, 0 insertions, 0 deletions