Commit 96a30960 authored by Zhen Lei's avatar Zhen Lei Committed by Pavel Machek
Browse files

leds: as3645a: Fix error return code in as3645a_parse_node()

Return error code -ENODEV rather than '0' when the indicator node can not
be found.

Fixes: a56ba8fb

 ("media: leds: as3645a: Add LED flash class driver")
Reported-by: default avatarHulk Robot <hulkci@huawei.com>
Acked-by: default avatarSakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: default avatarZhen Lei <thunder.leizhen@huawei.com>
Signed-off-by: default avatarPavel Machek <pavel@ucw.cz>
parent 9d0150db
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment