1
0
Fork 0
remarkable-linux/drivers/hid/intel-ish-hid/ishtp
Arvind Yadav 11ac08bd73 HID: intel-ish-hid: use put_device() instead of kfree()
[ Upstream commit a4eb490a41 ]

Never directly free @dev after calling device_register(), even
if it returned an error. Always use put_device() to give up the
reference initialized.

Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-06-21 04:02:48 +09:00
..
bus.c HID: intel-ish-hid: use put_device() instead of kfree() 2018-06-21 04:02:48 +09:00
bus.h HID: intel_ish-hid: ISH Transport layer 2016-08-17 11:13:07 +02:00
client-buffers.c HID: intel_ish-hid: Use kzalloc instead of kmalloc/memset 2016-08-29 09:36:20 +02:00
client.c HID: intel_ish-hid: convert timespec to ktime_t 2017-05-30 14:11:52 +02:00
client.h HID: intel_ish-hid: convert timespec to ktime_t 2017-05-30 14:11:52 +02:00
dma-if.c HID: intel_ish-hid: ISH Transport layer 2016-08-17 11:13:07 +02:00
hbm.c HID: intel_ish-hid: convert timespec to ktime_t 2017-05-30 14:11:52 +02:00
hbm.h HID: intel_ish-hid: ISH Transport layer 2016-08-17 11:13:07 +02:00
init.c HID: intel-ish-hid: Remove unneeded linux/miscdevice.h include 2016-12-19 11:17:24 +01:00
ishtp-dev.h HID: intel-ish-hid: add printf attribute to print_log() 2017-01-02 13:16:32 +01:00