]> git.baikalelectronics.ru Git - kernel.git/commit
i2c-i801: Don't depend on other kernel driver config options
authorJean Delvare <khali@linux-fr.org>
Tue, 24 May 2011 18:58:49 +0000 (20:58 +0200)
committerJean Delvare <khali@endymion.delvare>
Tue, 24 May 2011 18:58:49 +0000 (20:58 +0200)
commitaf3b4c780ed838b810e72f2e14d05309a37fd4db
treec0e6a163da813a4b4b6a84f71d833e732c6e8818
parent14fc2bfecafc1921127b3a483377a8bcae6eb274
i2c-i801: Don't depend on other kernel driver config options

Don't let other driver config options influence us, as it makes the
code more complex and fragile for a small benefit. There's nothing
wrong with instantiating I2C devices even if they don't have a driver.
And we're talking about 835 extra bytes in the binary on x86-64,
that's hardly worth arguing about.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Cc: David Woodhouse <david.woodhouse@intel.com>
Cc: Hans de Goede <hdegoede@redhat.com>
drivers/i2c/busses/Kconfig
drivers/i2c/busses/i2c-i801.c