linux/drivers/w1/slaves
NeilBrown b6c40b8581 w1_bq27000: remove unnecessary NULL test.
As recent change means that we now dereference 'dev' before testing
for NULL.

That means either the change was wrong, or the test isn't needed.
As this function is only called from one driver (bq27x000_battery) and
it always passed a non-NULL dev, it seems good to assume that the
test isn't needed.

So remove it.

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: NeilBrown <neilb@suse.de>
Acked-by: Evgeniy Polyakov <zbr@ioremap.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-02-24 14:25:50 -08: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 w1_bq27000: remove unnecessary NULL test. 2012-02-24 14:25:50 -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
w1_ds2433.c
w1_ds2760.c w1: ds2760 and ds2780, use ida for id and ida_simple_get() to get it 2011-11-02 16:07:02 -07:00
w1_ds2760.h
w1_ds2780.c drivers/power/ds2780_battery.c: add a nolock function to w1 interface 2011-11-02 16:07:03 -07:00
w1_ds2780.h drivers/power/ds2780_battery.c: add a nolock function to w1 interface 2011-11-02 16:07:03 -07:00
w1_smem.c MAINTAINERS: Evgeniy has moved 2011-08-25 16:25:33 -07:00
w1_therm.c W1: w1_therm: release the bus during conversion on externally powered devices 2011-11-17 11:47:56 -08:00