Searched refs:white_led (Results 1 – 1 of 1) sorted by relevance
67 struct a500_led *white_led, *orange_led; in a500_ec_leds_probe() local78 white_led = devm_kzalloc(&pdev->dev, sizeof(*white_led), GFP_KERNEL); in a500_ec_leds_probe()79 if (!white_led) in a500_ec_leds_probe()82 white_led->cdev.name = "power:white"; in a500_ec_leds_probe()83 white_led->cdev.brightness_set_blocking = a500_ec_led_brightness_set; in a500_ec_leds_probe()84 white_led->cdev.flags = LED_CORE_SUSPENDRESUME; in a500_ec_leds_probe()85 white_led->cdev.max_brightness = 1; in a500_ec_leds_probe()86 white_led->enable_seq = a500_ec_white_led_enable_seq; in a500_ec_leds_probe()87 white_led->rmap = rmap; in a500_ec_leds_probe()100 white_led->other = orange_led; in a500_ec_leds_probe()[all …]