/* Based on leds-cobalt-qube.c by Florian Fainelly and rb-diag.c (my own standalone driver for both LED and button of Routerboard532).  */
static void rb532_led_set(struct led_classdev *cdev, enum led_brightness brightness)
/* Based on leds-cobalt-qube.c by Florian Fainelly and rb-diag.c (my own standalone driver for both LED and button of Routerboard532).  */
static void rb532_led_set(struct led_classdev *cdev, enum led_brightness brightness)
{
	if (brightness)
		set_latch_u5(LO_ULED, 0);
	else
		set_latch_u5(0, LO_ULED);
}