aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/lima/lima_object.c
diff options
context:
space:
mode:
authorGuenter Roeck <[email protected]>2019-04-18 12:58:19 -0700
committerEduardo Valentin <[email protected]>2019-05-14 07:00:46 -0700
commit0b2a785db8797db08181f71395a412c8eedbc614 (patch)
treeaf211149d17dcd08ac88fd657226146c1c92928c /drivers/gpu/drm/lima/lima_object.c
parent9ebe010e566e9300bf3a7bb4ebfeb3f4deb72aa6 (diff)
hwmon: (npcm750-pwm-fan) Use devm_thermal_of_cooling_device_register
Use devm_thermal_of_cooling_device_register() to register the cooling device. As a side effect, this fixes a driver bug: thermal_cooling_device_unregister() was not called on device removal. Fixes: f1fd4a4db777 ("hwmon: Add NPCM7xx PWM and Fan driver") Cc: Tomer Maimon <[email protected]> Signed-off-by: Guenter Roeck <[email protected]> Signed-off-by: Eduardo Valentin <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/lima/lima_object.c')
0 files changed, 0 insertions, 0 deletions