linux/drivers/net/can
Wei Yongjun 0f0c5909d4 can: mscan-mpc5xxx: fix return value check in mpc512x_can_get_clock()
commit f61bd0585d upstream.

In case of error, the function clk_get() returns ERR_PTR()
and never returns NULL pointer. The NULL test in the error
handling should be replaced with IS_ERR().

dpatch engine is used to auto generated this patch.
(https://github.com/weiyj/dpatch)

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Acked-by: Wolfgang Grandegger <wg@grandegger.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-10-07 08:32:28 -07:00
..
c_can can: c_can: precedence error in c_can_chip_config() 2012-07-16 09:04:20 -07:00
cc770 can: cc770: linux/can/dev.h included twice 2012-03-03 17:40:32 +01:00
mscan can: mscan-mpc5xxx: fix return value check in mpc512x_can_get_clock() 2012-10-07 08:32:28 -07:00
sja1000 can: sja1000: add support for PEAK-System PCMCIA card 2012-03-03 17:40:46 +01:00
softing net/can: convert drivers/net/can/* to use module_platform_driver() 2011-11-29 00:25:05 -05:00
usb can: usb: PCAN-USB Pro: fix mem leaks in pcan_usb_pro_init() on error paths 2012-04-16 21:34:50 +02:00
at91_can.c net/can: convert drivers/net/can/* to use module_platform_driver() 2011-11-29 00:25:05 -05:00
bfin_can.c can: replace the dev_dbg/info/err/... with the new netdev_xxx macros 2012-02-03 01:21:26 +01:00
dev.c can: replace the dev_dbg/info/err/... with the new netdev_xxx macros 2012-02-03 01:21:26 +01:00
flexcan.c can: flexcan: use be32_to_cpup to handle the value of dt entry 2012-07-16 09:04:21 -07:00
janz-ican3.c can: janz-ican3: fix support for older hardware revisions 2012-10-02 10:30:09 -07:00
Kconfig can: Kconfig: add more information about Intel EG20T PCH CAN controller 2012-02-03 01:21:26 +01:00
Makefile can: cc770: add driver core for the Bosch CC770 and Intel AN82527 2011-12-01 13:09:31 -05:00
mcp251x.c can: mcp251x: avoid repeated frame bug 2012-10-02 10:30:05 -07:00
pch_can.c Merge branch 'master' of git://gitorious.org/linux-can/linux-can-next 2012-02-04 16:42:19 -05:00
slcan.c Remove all #inclusions of asm/system.h 2012-03-28 18:30:03 +01:00
ti_hecc.c can: ti_hecc: fix oops during rmmod 2012-10-02 10:30:09 -07:00
vcan.c module_param: make bool parameters really bool (net & drivers/net) 2011-12-19 22:27:29 -05:00