aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/tinydrm/core/tinydrm-helpers.c
diff options
context:
space:
mode:
authorHanno Zulla <abos@hanno.de>2018-06-14 16:29:08 +0200
committerJiri Kosina <jkosina@suse.cz>2018-07-09 15:14:07 +0200
commitcc070a847bc0b6fb66e4c05b5bd036d2ea80fb9a (patch)
tree34052578d1dd7be2643ee61de70d246e0538859a /drivers/gpu/drm/tinydrm/core/tinydrm-helpers.c
parent81e97f01371f4e1701feeafe484665112cd9ddc2 (diff)
HID: hid-sony.c: Use devm_ api to simplify sony_register_touchpad()
HID: hid-sony.c: Use devm_ api to simplify sony_register_touchpad() Using devm_ calls, the resources of the Sony game devices's features are tied to the main device handle, making it easier to handle errors and teardown inside the device driver. Altogether, this reduces complexity of the driver source. Signed-off-by: Hanno Zulla <kontakt@hanno.de> Reviewed-by: Benjamin Tissoires <benjamin.tissoires@redhat.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/gpu/drm/tinydrm/core/tinydrm-helpers.c')
0 files changed, 0 insertions, 0 deletions