]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd1709bae59e0933358426d1c8e208c470b4105e0
tree47272da395818ecc9101b27b01808b8cf11f9b35
parent8605b09240a754965e7714b84452d32571218901
I2C/ACPI: Clean up I2C ACPI code and Add CONFIG_I2C_ACPI config

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>
drivers/i2c/Kconfig
drivers/i2c/Makefile
drivers/i2c/i2c-acpi.c
drivers/i2c/i2c-core.c
include/linux/i2c.h