diff options
author | Tian Tao <tiantao6@hisilicon.com> | 2020-12-22 19:55:56 +0800 |
---|---|---|
committer | Tian Tao <tiantao6@hisilicon.com> | 2020-12-23 08:20:28 -0500 |
commit | 72eab0ba6d68cde5c6e24658260b60824b297905 (patch) | |
tree | 49b59005d570a2055aae8f95c886af7c481d55b2 /drivers/leds/leds-is31fl319x.c | |
parent | 4c5d02d94c4dfc85ebbed03da9c08a7e358ebb2a (diff) |
drm/hisilicon: Remove drm_dev_put in hibmc
Hibmc use the devm_drm_dev_alloc function in hibmc_pci_probe, if
hibmc_pci_probe returns non-zero, devm_drm_dev_alloc will call
devm_drm_dev_init, which will call devm_drm_dev_init_release to
release drm_dev_put. There is no need for hibmc to call
drm_dev_put separately.
Signed-off-by: Tian Tao <tiantao6@hisilicon.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/1608638156-7879-1-git-send-email-tiantao6@hisilicon.com
Diffstat (limited to 'drivers/leds/leds-is31fl319x.c')
0 files changed, 0 insertions, 0 deletions