I2C/ACPI: Clean up I2C ACPI code and Add CONFIG_I2C_ACPI config
authorLan Tianyu <tianyu.lan@intel.com>
Tue, 20 May 2014 12:59:24 +0000 (20:59 +0800)
committerWolfram Sang <wsa@the-dreams.de>
Fri, 27 Jun 2014 12:50:41 +0000 (14:50 +0200)
Clean up ACPI related code in the i2c core and add CONFIG_I2C_ACPI
to enable I2C ACPI code.

Current there is a race between removing I2C ACPI operation region
and ACPI AML code accessing. So make i2c core built-in if CONFIG_I2C_ACPI
is set.

Reviewed-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Lan Tianyu <tianyu.lan@intel.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>

No differences found