/* Helper function to turn off all LEDs connected to the driver.  */
static int turn_off_all_leds(const struct device *dev)
/* Helper function to turn off all LEDs connected to the driver.  */
static int turn_off_all_leds(const struct device *dev)
{
	for (int i = 0; i < NUM_LEDS; i++) {
		int ret = led_off(dev, i);
		if (ret) {
			return ret;
		}
	}
	return 0;
}