summaryrefslogtreecommitdiff
path: root/drivers/ps3/ps3av.c
diff options
context:
space:
mode:
authorZhen Lei <thunder.leizhen@huawei.com>2021-05-15 06:06:46 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-07-14 18:00:25 +0300
commit31090dd99a12361d89d72960e81ee35a7f8625ad (patch)
tree070282c7ae541254bcf32b997e585e42c94cec17 /drivers/ps3/ps3av.c
parentc904df883ffab3adef8c1bef48307370e96ca3c5 (diff)
downloadlinux-31090dd99a12361d89d72960e81ee35a7f8625ad.tar.xz
leds: as3645a: Fix error return code in as3645a_parse_node()
[ Upstream commit 96a30960a2c5246c8ffebe8a3c9031f9df094d97 ] Return error code -ENODEV rather than '0' when the indicator node can not be found. Fixes: a56ba8fbcb55 ("media: leds: as3645a: Add LED flash class driver") Reported-by: Hulk Robot <hulkci@huawei.com> Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com> Signed-off-by: Pavel Machek <pavel@ucw.cz> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/ps3/ps3av.c')
0 files changed, 0 insertions, 0 deletions