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)
commit8eacfcebf0274310a751924c02c5c31cbdf057b3
treec0e6a163da813a4b4b6a84f71d833e732c6e8818
parent6aa1464d5482cc8f6f026ebb12d94b77a58c823b
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