]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
Input: sun4i-ts - add a check for devm_thermal_zone_of_sensor_register
authorChuhong Yuan <hslester96@gmail.com>
Fri, 10 Jan 2020 18:30:04 +0000 (10:30 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 29 Jan 2020 09:24:39 +0000 (10:24 +0100)
commit35d751dcaaac086687d2ddcb9e387946a7d6ee43
tree10f20bad977760c15971805909d45d3a38b78264
parentf0501a3ec80edfe73ff51ff7c29f104577eb7ea6
Input: sun4i-ts - add a check for devm_thermal_zone_of_sensor_register

commit 97e24b095348a15ec08c476423c3b3b939186ad7 upstream.

The driver misses a check for devm_thermal_zone_of_sensor_register().
Add a check to fix it.

Fixes: e28d0c9cd381 ("input: convert sun4i-ts to use devm_thermal_zone_of_sensor_register")
Signed-off-by: Chuhong Yuan <hslester96@gmail.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/input/touchscreen/sun4i-ts.c