Failure handling of the boot EC code is not tidy. This patch cleans
them up with acpi_ec_alloc().
This patch also changes acpi_ec_dsdt_probe(), always switches the boot EC
from the ECDT one to the DSDT one in this function.
Signed-off-by: Lv Zheng
---
drivers/acpi/ec.c |
Failure handling of the boot EC code is not tidy. This patch cleans
them up with acpi_ec_alloc().
This patch also changes acpi_ec_dsdt_probe(), always switches the boot EC
from the ECDT one to the DSDT one in this function.
Signed-off-by: Lv Zheng
---
drivers/acpi/ec.c | 85
2 matches
Mail list logo