summaryrefslogtreecommitdiff
path: root/drivers/leds/leds-lp5523.c
diff options
context:
space:
mode:
authorTian Tao <tiantao6@hisilicon.com>2020-12-21 08:45:22 +0800
committerTian Tao <tiantao6@hisilicon.com>2020-12-22 22:30:44 -0500
commit4c5d02d94c4dfc85ebbed03da9c08a7e358ebb2a (patch)
treea077b3ed3f67af74c1b1c39c7f808e651b27c6be /drivers/leds/leds-lp5523.c
parentb39100a55ceab858daa35f03e227b54a03cc11ee (diff)
drm/hisilicon: Use pcim_enable_device()
Using the managed function simplifies the error handling. After unloading the driver, the PCI device should now get disabled as well. Signed-off-by: Tian Tao <tiantao6@hisilicon.com> Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch> Link: https://patchwork.freedesktop.org/patch/msgid/1608511522-3100-1-git-send-email-tiantao6@hisilicon.com
Diffstat (limited to 'drivers/leds/leds-lp5523.c')
0 files changed, 0 insertions, 0 deletions