Searched refs:mc_led_info (Results 1 – 2 of 2) sorted by relevance
450 struct mc_subled *mc_led_info; in lp50xx_probe_dt() local488 mc_led_info = devm_kcalloc(priv->dev, LP50XX_LEDS_PER_MODULE, in lp50xx_probe_dt()489 sizeof(*mc_led_info), GFP_KERNEL); in lp50xx_probe_dt()490 if (!mc_led_info) { in lp50xx_probe_dt()504 mc_led_info[num_colors].color_index = color_id; in lp50xx_probe_dt()510 led->mc_cdev.subled_info = mc_led_info; in lp50xx_probe_dt()
166 struct mc_subled *mc_led_info; in lp55xx_init_led() local189 mc_led_info = devm_kcalloc(dev, in lp55xx_init_led()191 sizeof(*mc_led_info), GFP_KERNEL); in lp55xx_init_led()192 if (!mc_led_info) in lp55xx_init_led()200 mc_led_info[i].color_index = in lp55xx_init_led()202 mc_led_info[i].channel = in lp55xx_init_led()207 led->mc_cdev.subled_info = mc_led_info; in lp55xx_init_led()