diff options
| author | Aditya Pakki <pakki001@umn.edu> | 2018-12-24 15:39:14 -0600 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-02-20 10:13:14 +0100 |
| commit | 3f516da858df983c9c730541214c3ae426925749 (patch) | |
| tree | eb10a01ddb5644bb17e9690a398b328cab7fef4a /tools/perf/scripts/python/call-graph-from-postgresql.py | |
| parent | a711dcb283391b29f13f392304a582839fa8f8fb (diff) | |
HID: lenovo: Add checks to fix of_led_classdev_register
[ Upstream commit 6ae16dfb61bce538d48b7fe98160fada446056c5 ]
In lenovo_probe_tpkbd(), the function of_led_classdev_register() could
return an error value that is unchecked. The fix adds these checks.
Signed-off-by: Aditya Pakki <pakki001@umn.edu>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions
