diff options
| author | [email protected] <[email protected]> | 2020-08-20 06:38:17 +0000 |
|---|---|---|
| committer | Lee Jones <[email protected]> | 2020-08-28 09:25:54 +0000 |
| commit | b7a4f80bc316a56d6ec8750e93e66f42431ed960 (patch) | |
| tree | 3ee5f002f57c33f3b73c2041f9745b72793a61f7 /drivers/usb/cdns3/core.h | |
| parent | Linux 5.9-rc1 (diff) | |
| download | kernel-b7a4f80bc316a56d6ec8750e93e66f42431ed960.tar.gz kernel-b7a4f80bc316a56d6ec8750e93e66f42431ed960.zip | |
backlight: sky81452-backlight: Fix refcount imbalance on error
When of_property_read_u32_array() returns an error code, a
pairing refcount decrement is needed to keep np's refcount
balanced.
Fixes: f705806c9f355 ("backlight: Add support Skyworks SKY81452 backlight driver")
Signed-off-by: Dinghao Liu <[email protected]>
Reviewed-by: Daniel Thompson <[email protected]>
Signed-off-by: Lee Jones <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/core.h')
0 files changed, 0 insertions, 0 deletions
