diff options
| author | 2021-04-06 21:11:59 +0800 | |
|---|---|---|
| committer | 2021-05-10 11:58:54 +0200 | |
| commit | ee522bcf026ec82ada793979c3a906274430595a (patch) | |
| tree | c2bd547f01c85e754494e2aedc77ae2416ba3683 /include | |
| parent | Linux 5.13-rc1 (diff) | |
leds: tlc591xx: fix return value check in tlc591xx_probe()
After device_get_match_data(), tlc591xx is not checked, add
check for it and also check np after dev_of_node.
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Signed-off-by: Pavel Machek <pavel@ucw.cz>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
