WSL2-Linux-Kernel/drivers/w1
Arvind Yadav 0ec4eb71b4 w1: use put_device() if device_register() fail
If device_register() returned an error! Always use put_device()
to give up the reference initialized in device_register().

Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-03-14 14:58:50 +01:00
..
masters w1: w1-gpio: Convert to use GPIO descriptors 2017-12-08 15:32:53 +01:00
slaves Char/Misc patches for 4.15-rc1 2017-11-16 09:10:59 -08:00
Kconfig Kconfig: replace "--- help ---" with "---help---" 2012-05-07 15:01:22 +02:00
Makefile
w1.c w1: use put_device() if device_register() fail 2018-03-14 14:58:50 +01:00
w1_family.c w1: Add subsystem kernel public interface 2017-06-09 11:54:54 +02:00
w1_int.c w1: Add subsystem kernel public interface 2017-06-09 11:54:54 +02:00
w1_internal.h w1: Add subsystem kernel public interface 2017-06-09 11:54:54 +02:00
w1_io.c wire: export w1_touch_bit 2017-10-04 10:29:22 +02:00
w1_netlink.c w1: Add subsystem kernel public interface 2017-06-09 11:54:54 +02:00
w1_netlink.h w1_netlink.h: add support for nested structs 2017-12-21 13:41:47 -07:00