It doesn't really make sense to pass ec->handle of the ECDT EC toacpi_handle_info(), because it is set to ACPI_ROOT_OBJECT inacpi_ec_ecdt_probe(), so rework acpi_ec_setup() to avoid usingacpi_handle_info() for printing messages.

First, notice that the "Used as first EC" message is not reallyuseful, because it is immediately followed by a more meaningful onefrom either acpi_ec_ecdt_probe() or acpi_ec_dsdt_probe() (the latteralso includes the EC object path), so drop it altogether.

Second, use pr_info() for printing the EC configuration information.

While at it, make the code in question avoid printing invalid GPE orIRQ numbers and make it print the GPE/IRQ information only when thedriver is ready to handle events.