Merge branch 'ec' into release
authorLen Brown <len.brown@intel.com>
Sat, 19 Sep 2009 06:05:34 +0000 (02:05 -0400)
committerLen Brown <len.brown@intel.com>
Sat, 19 Sep 2009 06:05:34 +0000 (02:05 -0400)
Conflicts:
drivers/acpi/ec.c

Signed-off-by: Len Brown <len.brown@intel.com>
1  2 
drivers/acpi/ec.c

@@@ -871,14 -793,7 +827,12 @@@ static int acpi_ec_add(struct acpi_devi
        acpi_ec_add_fs(device);
        pr_info(PREFIX "GPE = 0x%lx, I/O: command/status = 0x%lx, data = 0x%lx\n",
                          ec->gpe, ec->command_addr, ec->data_addr);
-       pr_info(PREFIX "driver started in %s mode\n",
-               (test_bit(EC_FLAGS_GPE_MODE, &ec->flags))?"interrupt":"poll");
 -      return 0;
 +
 +      ret = ec_install_handlers(ec);
 +
 +      /* EC is fully operational, allow queries */
 +      clear_bit(EC_FLAGS_QUERY_PENDING, &ec->flags);
 +      return ret;
  }
  
  static int acpi_ec_remove(struct acpi_device *device, int type)