HID: logitech: Stop setting drvdata to NULL on probe failure and remove
authorBenjamin Tissoires <benjamin.tissoires@redhat.com>
Sat, 20 Apr 2019 11:21:42 +0000 (13:21 +0200)
committerBenjamin Tissoires <benjamin.tissoires@redhat.com>
Tue, 23 Apr 2019 15:59:01 +0000 (17:59 +0200)
commit43cd97af70c650c4463817eb28fda3678a1956c9
treeec3bdbafd0aa38faa436ad539cd1fb16425637b9
parent2fbe5a5d8853cb5ae302ef0c0ae9278c9fc993ea
HID: logitech: Stop setting drvdata to NULL on probe failure and remove

There is no need to set drvdata to NULL on probe failure and remove,
the driver-core already does this for us.

[hdegoede@redhat.com: Isolate Logitech changes into a separate patch]
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
drivers/hid/hid-logitech-dj.c
drivers/hid/hid-logitech-hidpp.c