On Wed, Apr 19, 2017 at 12:36 PM, Dmitry Frank <mail@xxxxxxxxxxxxxxx> wrote: > The first two items in the _BCL method response are special: > > - Level when machine has full power > - Level when machine is on batteries > - .... actual supported levels go there .... > > So this commits adds an enum and uses its descriptive elements > throughout the code, instead of magic numbers. > > Signed-off-by: Dmitry Frank <mail@xxxxxxxxxxxxxxx> Are there any differences between this and the previous version of the patch you posted? Thanks, Rafael -- To unsubscribe from this list: send the line "unsubscribe linux-acpi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html