On 6/15/22 16:51, Shreeya Patel wrote:> +static int ltrf216a_get_lux(struct ltrf216a_data *data)> +{> + int greendata;> + u64 lux, div;> +> + ltrf216a_set_power_state(data, true);All the power-on errors should be handled.-- Best regards,Dmitry