aboutsummaryrefslogtreecommitdiff
path: root/lib/dynamic_debug.c
diff options
context:
space:
mode:
authorHanno Zulla <abos@hanno.de>2018-06-14 16:30:46 +0200
committerJiri Kosina <jkosina@suse.cz>2018-07-09 15:14:07 +0200
commitf2d98e2c020e8f33813a746ac8a92a4582ac416a (patch)
tree550f948d9ede0abcdc985db79b2e183f3f320e8b /lib/dynamic_debug.c
parentea4a5fdc8d07df9115881f698c14bcfd7046a846 (diff)
HID: hid-sony.c: Use devm_ api to simplify sony_leds_init()
[PATCH 3/5] HID: hid-sony.c: Use devm_ api to simplify sony_leds_init() 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 'lib/dynamic_debug.c')
0 files changed, 0 insertions, 0 deletions