aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/w1/slaves
diff options
context:
space:
mode:
authorH Hartley Sweeten <hartleys@visionengravers.com>2012-05-02 20:02:07 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-05-04 19:25:30 -0400
commit4ae68e7345b0d5d49e1c2c7583d15a3c177f8a2f (patch)
tree88aec18b4fc5862cdecf278bd833b0a55d797f4d /drivers/w1/slaves
parent0e1507c8453081c9a6a515b92f89dd00b68f5c09 (diff)
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>
Diffstat (limited to 'drivers/w1/slaves')
-rw-r--r--drivers/w1/slaves/w1_ds2408.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/w1/slaves/w1_ds2408.c b/drivers/w1/slaves/w1_ds2408.c
index 7c8cdb8aed26..8e813eed0f0a 100644
--- a/drivers/w1/slaves/w1_ds2408.c
+++ b/drivers/w1/slaves/w1_ds2408.c
@@ -332,7 +332,6 @@ static struct bin_attribute w1_f29_sysfs_bin_files[NB_SYSFS_BIN_FILES] = {
332 }, 332 },
333 .size = 1, 333 .size = 1,
334 .read = w1_f29_read_cond_search_mask, 334 .read = w1_f29_read_cond_search_mask,
335 .write = 0,
336 }, 335 },
337 { 336 {
338 .attr = { 337 .attr = {
@@ -341,7 +340,6 @@ static struct bin_attribute w1_f29_sysfs_bin_files[NB_SYSFS_BIN_FILES] = {
341 }, 340 },
342 .size = 1, 341 .size = 1,
343 .read = w1_f29_read_cond_search_polarity, 342 .read = w1_f29_read_cond_search_polarity,
344 .write = 0,
345 }, 343 },
346 { 344 {
347 .attr = { 345 .attr = {