alistair23-linux/drivers/w1/slaves
Dan Carpenter 5829944925 w1: fix for loop in w1_f29_remove_slave()
The for loop was looking for i <= 0 instead of i >= 0 so this function
never did anything.  Also we started with i = NB_SYSFS_BIN_FILES instead
of "NB_SYSFS_BIN_FILES - 1" which is an off by one bug.

Reported-by: Bojan Prtvar <prtvar.b@gmail.com>
Signed-off-by: Dan Carpenter <error27@gmail.com>
Acked-by: Jean-Franois Dagenais <dagenaisj@sonatest.com>
Cc: Evgeniy Polyakov <zbr@ioremap.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2011-08-25 16:25:33 -07:00
..
Kconfig w1: add Maxim/Dallas DS2780 Stand-Alone Fuel Gauge IC support 2011-05-26 17:12:38 -07:00
Makefile w1: add Maxim/Dallas DS2780 Stand-Alone Fuel Gauge IC support 2011-05-26 17:12:38 -07:00
w1_bq27000.c hdq: bQ27000 HDQ Slave Interface Driver 2008-11-12 17:17:18 -08:00
w1_ds2408.c w1: fix for loop in w1_f29_remove_slave() 2011-08-25 16:25:33 -07:00
w1_ds2423.c w1: DS2423 counter driver and documentation 2011-01-13 08:03:22 -08:00
w1_ds2431.c sysfs: add struct file* to bin_attr callbacks 2010-05-21 09:37:31 -07:00
w1_ds2433.c sysfs: add struct file* to bin_attr callbacks 2010-05-21 09:37:31 -07:00
w1_ds2760.c sysfs: add struct file* to bin_attr callbacks 2010-05-21 09:37:31 -07:00
w1_ds2760.h w1: ds2760_battery: add support for sleep mode feature 2009-06-08 23:25:17 +04:00
w1_ds2780.c w1: add Maxim/Dallas DS2780 Stand-Alone Fuel Gauge IC support 2011-05-26 17:12:38 -07:00
w1_ds2780.h w1: add Maxim/Dallas DS2780 Stand-Alone Fuel Gauge IC support 2011-05-26 17:12:38 -07:00
w1_smem.c [PATCH] w1: Userspace communication protocol over connector. 2006-06-22 11:22:50 -07:00
w1_therm.c drivers/w1/slaves/w1_therm.c: add support for DS28EA00 2011-07-26 16:49:45 -07:00