Merge pull request #542 from brandonchuang/as5916_54xks

[as5916-54xks] Remove setting loc/diag led as off while onlp_ledi_init()
This commit is contained in:
Jeffrey Townsend
2019-04-24 13:08:57 -07:00
committed by GitHub

View File

@@ -167,12 +167,6 @@ static int onlp_to_driver_led_mode(enum onlp_led_id id, onlp_led_mode_t onlp_led
int
onlp_ledi_init(void)
{
/*
* Turn off the LOCATION and DIAG LEDs at startup
*/
onlp_ledi_mode_set(ONLP_LED_ID_CREATE(LED_DIAG), ONLP_LED_MODE_OFF);
onlp_ledi_mode_set(ONLP_LED_ID_CREATE(LED_LOC), ONLP_LED_MODE_OFF);
return ONLP_STATUS_OK;
}