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)
commit8ad2ee955b810e2a8061d2d3d2e4e4072250b5ec
tree2adff5317d7664ed6fbac7fb7c9b1556a8d98e7e
parent7c658e6b46be5d90e6bb668659bb4de6ce80c536
serial: MIPS: lantiq: fix clock error check

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>
drivers/tty/serial/lantiq.c
This page took 0.024463 seconds and 5 git commands to generate.