]> git.baikalelectronics.ru Git - kernel.git/commit
drm/panel: otm8009a: Drop unnessary backlight_device_unregister()
authorWei Yongjun <weiyongjun1@huawei.com>
Thu, 18 Jun 2020 13:46:50 +0000 (13:46 +0000)
committerSam Ravnborg <sam@ravnborg.org>
Sat, 20 Jun 2020 10:23:41 +0000 (12:23 +0200)
commit7a6c060f647e752db993e089c6c351b172fd43f1
tree3b26a6b18c4c5fd6b6fb2de040dccdec8163325b
parent91665f7c804d0d40abb914b2dbb6afd46addd031
drm/panel: otm8009a: Drop unnessary backlight_device_unregister()

It's not necessary to unregister backlight device which
registered with devm_backlight_device_register().

Fixes: 661bbe90a292 ("drm/panel: otm8009a: Use new backlight API")
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20200618134650.44311-1-weiyongjun1@huawei.com
drivers/gpu/drm/panel/panel-orisetech-otm8009a.c