WSL2-Linux-Kernel/drivers/w1
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
..
masters ASoC/extcon: arizona: Fix interaction between HPDET and headphone outputs 2013-03-26 09:19:02 -07:00
slaves drivers/w1/slaves/w1_ds2760.c: fix the error handling in w1_ds2760_add_slave() 2013-04-30 17:04:08 -07:00
Kconfig
Makefile
w1.c w1: fix oops when w1_search is called from netlink connector 2013-03-12 16:20:46 -07:00
w1.h
w1_family.c
w1_family.h w1: add support for DS2413 Dual Channel Addressable Switch 2013-02-27 19:10:23 -08:00
w1_int.c
w1_int.h
w1_io.c
w1_log.h
w1_netlink.c
w1_netlink.h