Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
leds: tlc591xx: fix return value check in tlc591xx_probe()
[ Upstream commit ee522bc ] 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> Signed-off-by: Sasha Levin <sashal@kernel.org>
- Loading branch information