generic: swconfig: use led_set_brightness in LED control code