]> git.karo-electronics.de Git - linux-beck.git/commit
w1: w1_ds2408.c: quite sparse noise about using plaing integer as NULL pointer
authorH Hartley Sweeten <hartleys@visionengravers.com>
Thu, 3 May 2012 00:02:07 +0000 (17:02 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 4 May 2012 23:25:30 +0000 (16:25 -0700)
commit4ae68e7345b0d5d49e1c2c7583d15a3c177f8a2f
tree88aec18b4fc5862cdecf278bd833b0a55d797f4d
parent0e1507c8453081c9a6a515b92f89dd00b68f5c09
w1: w1_ds2408.c: quite sparse noise about using plaing integer as NULL pointer

NULL not 0 should be used with pointers. Just remove the offending
lines since they will default to NULL anyway.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Acked-by: Evgeniy Polyakov <zbr@ioremap.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/w1/slaves/w1_ds2408.c