linux/drivers/w1
Anton Vorontsov fbc357df2e ds1wm: should check for IS_ERR(clk) instead of NULL
On the error condition clk_get() returns ERR_PTR(..), so checking for NULL
doesn't work.  ds1wm module causes a kernel oops when ds1wm clock isn't
registered.

This patch converts NULL check to IS_ERR(), plus uses PTR_ERR()
for the return code.

Signed-off-by: Anton Vorontsov <cbouatmailru@gmail.com>
Acked-by: Evgeniy Polyakov <johnpol@2ka.mipt.ru>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-03-04 16:35:12 -08:00
..
masters ds1wm: should check for IS_ERR(clk) instead of NULL 2008-03-04 16:35:12 -08:00
slaves W1: w1_therm.c standardize units to millidegrees C 2008-02-06 10:41:10 -08:00
Kconfig Kbuild/doc: fix links to Documentation files 2007-10-30 14:26:30 -07:00
Makefile [PATCH] better CONFIG_W1_SLAVE_DS2433_CRC handling 2006-12-07 08:39:43 -08:00
w1_family.c [PATCH] W1: possible cleanups 2006-06-22 11:22:50 -07:00
w1_family.h [BATTERY] ds2760 W1 slave 2007-07-10 11:28:31 +01:00
w1_int.c w1: fix w1_remove_master_device() searching 2007-08-22 19:52:46 -07:00
w1_int.h [PATCH] w1: cleanups. 2005-06-21 21:43:09 -07:00
w1_io.c [PATCH] W1: possible cleanups 2006-06-22 11:22:50 -07:00
w1_log.h [PATCH] w1: cleanups. 2005-06-21 21:43:09 -07:00
w1_netlink.c [PATCH] w1: Use mutexes instead of semaphores. 2006-06-22 11:22:50 -07:00
w1_netlink.h [PATCH] w1: Move w1-connector definitions into linux/include/connector.h 2006-06-22 11:22:50 -07:00
w1.c w1: remove unused and confusing variable. 2008-02-06 10:41:10 -08:00
w1.h [PATCH] drivers/w1/w1.c: fix a compile error 2006-06-22 11:22:51 -07:00