LEDS: Handle empty group

LED group consists of name and the associated LEDs that need to be
actioned on when the group is asserted or de-asserted.

However, its not a hard requirement that all the groups must have the
associated LEDs if the system does not have the usecase.

For example, it is required from the firmware standpoint that the
groups "bmc_booted" and "power_on" be present but not all systems
may have a mapping LED. So in those cases, the group itself can be
in asserted state but without doing anything underneath. Providing
this support will make sure that addition of LEDs into those groups
if needed in the future are handled seamlessly.

Change-Id: I345886a3edbabf11f1e9f5c9de4b9cf28a7c33f6
Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>
1 file changed