diff options
author | Marek BehĂșn <kabel@kernel.org> | 2020-09-26 21:43:02 +0200 |
---|---|---|
committer | Pavel Machek <pavel@ucw.cz> | 2020-09-30 18:53:27 +0200 |
commit | a238098251b690b7408f26d7c5b4c6ba44d7084c (patch) | |
tree | 4aba715a61594ddc4e9e665c7b4f25e672bdee4b /drivers/pnp | |
parent | leds: tca6507: fix warning triggered by fwnode conversion. (diff) | |
download | linux-a238098251b690b7408f26d7c5b4c6ba44d7084c.tar.xz linux-a238098251b690b7408f26d7c5b4c6ba44d7084c.zip |
leds: tca6507: fix potential zero passed to ERR_PTR
Fix potential ERR_PTR(0).
Signed-off-by: Marek BehĂșn <kabel@kernel.org>
Fixes: d78b10f5713d9 ("leds: tca6507: use fwnode API instead of OF")
Reported-by: kernel test robot <lkp@intel.com>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Pavel Machek <pavel@ucw.cz>
Diffstat (limited to 'drivers/pnp')
0 files changed, 0 insertions, 0 deletions