serial: MIPS: lantiq: fix clock error check
authorJohn Crispin <blogic@openwrt.org>
Fri, 9 Aug 2013 18:54:31 +0000 (20:54 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 12 Aug 2013 18:37:48 +0000 (11:37 -0700)
The clock should be checked with the proper IS_ERR() api before using it.

Signed-off-by: John Crispin <blogic@openwrt.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

No differences found