aboutsummaryrefslogtreecommitdiffstats
path: root/lib/string_helpers.c
diff options
context:
space:
mode:
authorArvind Yadav <[email protected]>2018-03-30 11:26:10 +0000
committerJiri Kosina <[email protected]>2018-04-26 12:36:43 +0000
commita4eb490a41a0da3b1275fc7427084cf9ae2c3c1c (patch)
treec4ecd66202bada3b4e55750239de610464eecb9c /lib/string_helpers.c
parentHID: intel_ish-hid: Stop using a static local buffer in get_report() (diff)
downloadkernel-a4eb490a41a0da3b1275fc7427084cf9ae2c3c1c.tar.gz
kernel-a4eb490a41a0da3b1275fc7427084cf9ae2c3c1c.zip
HID: intel-ish-hid: use put_device() instead of kfree()
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 <[email protected]> Signed-off-by: Jiri Kosina <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions