Skip to content
Commit a2380982 authored by Marek Behún's avatar Marek Behún Committed by Pavel Machek
Browse files

leds: tca6507: fix potential zero passed to ERR_PTR



Fix potential ERR_PTR(0).

Signed-off-by: default avatarMarek Behún <kabel@kernel.org>
Fixes: d78b10f5713d9 ("leds: tca6507: use fwnode API instead of OF")
Reported-by: default avatarkernel test robot <lkp@intel.com>
Reported-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: default avatarPavel Machek <pavel@ucw.cz>
parent e8b7dabc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment