greybus: lights: remove has_flash on failure
If register to v4l2 fails just mark the light as not having flash so in release we do not try to unregister. Signed-off-by: NRui Miguel Silva <rui.silva@linaro.org> Signed-off-by: NGreg Kroah-Hartman <gregkh@google.com>
Showing
想要评论请 注册 或 登录