Searched refs:xiaomi_mipad2_led_pwm (Results 1 – 1 of 1) sorted by relevance
838 static struct pwm_device *xiaomi_mipad2_led_pwm; variable850 return pwm_apply_might_sleep(xiaomi_mipad2_led_pwm, &state); in xiaomi_mipad2_brightness_set()858 xiaomi_mipad2_led_pwm = devm_pwm_get(dev, "pwm_soc_lpss_2"); in xiaomi_mipad2_init()859 if (IS_ERR(xiaomi_mipad2_led_pwm)) in xiaomi_mipad2_init()860 return dev_err_probe(dev, PTR_ERR(xiaomi_mipad2_led_pwm), "getting pwm\n"); in xiaomi_mipad2_init()