2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-21 11:44:01 +08:00
linux-next/drivers/w1/slaves
Wei Yongjun 4d10e0f2dd drivers/w1/slaves/w1_ds2760.c: fix the error handling in w1_ds2760_add_slave()
Use platform_device_put() instead of platform_device_unregister() if
platform_device_add() fail, and platform_device_del() should be used in
the error handling case after platform_device_add() success.

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Cc: Evgeniy Polyakov <zbr@ioremap.net>
Cc: Greg KH <greg@kroah.com>
Cc: Neil Brown <neilb@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2013-04-30 17:04:08 -07:00
..
Kconfig w1: ds2408: make value read-back check a Kconfig option 2013-03-15 12:15:02 -07:00
Makefile w1: add support for DS2413 Dual Channel Addressable Switch 2013-02-27 19:10:23 -08:00
w1_bq27000.c drivers/w1/slaves/w1_bq27000.c: fix the error handling in w1_bq27000_add_slave() 2013-04-30 17:04:08 -07:00
w1_ds28e04.c w1: Add 1-wire slave device driver for DS28E04-100 2012-06-13 16:47:10 -07:00
w1_ds2408.c w1: ds2408: use ARRAY_SIZE instead of hard-coded number 2013-03-15 12:15:02 -07:00
w1_ds2413.c w1: add support for DS2413 Dual Channel Addressable Switch 2013-02-27 19:10:23 -08:00
w1_ds2423.c W1: split master mutex to avoid deadlocks. 2012-06-13 16:38:40 -07:00
w1_ds2431.c W1: split master mutex to avoid deadlocks. 2012-06-13 16:38:40 -07:00
w1_ds2433.c W1: split master mutex to avoid deadlocks. 2012-06-13 16:38:40 -07:00
w1_ds2760.c drivers/w1/slaves/w1_ds2760.c: fix the error handling in w1_ds2760_add_slave() 2013-04-30 17:04:08 -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 drivers/w1/slaves/w1_ds2780.c: fix the error handling in w1_ds2780_add_slave() 2013-04-30 17:04:08 -07:00
w1_ds2780.h W1: split master mutex to avoid deadlocks. 2012-06-13 16:38:40 -07:00
w1_ds2781.c drivers/w1/slaves/w1_ds2781.c: fix the error handling in w1_ds2781_add_slave() 2013-04-30 17:04:08 -07:00
w1_ds2781.h W1: split master mutex to avoid deadlocks. 2012-06-13 16:38:40 -07:00
w1_smem.c MAINTAINERS: Evgeniy has moved 2011-08-25 16:25:33 -07:00
w1_therm.c w1: w1_therm: Add force-pullup option for "broken" sensors 2013-02-18 13:55:24 -08:00