summaryrefslogtreecommitdiff
path: root/arch/nds32/mm
diff options
context:
space:
mode:
authorYang Yingliang <yangyingliang@huawei.com>2021-04-06 21:11:59 +0800
committerPavel Machek <pavel@ucw.cz>2021-05-10 11:58:54 +0200
commitee522bcf026ec82ada793979c3a906274430595a (patch)
treec2bd547f01c85e754494e2aedc77ae2416ba3683 /arch/nds32/mm
parent6efb943b8616ec53a5e444193dccf1af9ad627b5 (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 'arch/nds32/mm')
0 files changed, 0 insertions, 0 deletions