linux/drivers/i2c
Javier Martinez Canillas 175c7080f2 i2c: i801: use IS_ENABLED() instead of checking for built-in or module
The IS_ENABLED() macro checks if a Kconfig symbol has been enabled either
built-in or as a module, use that macro instead of open coding the same.

Using the macro makes the code more readable by helping abstract away some
of the Kconfig built-in and module enable details.

Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
Reviewed-by: Jean Delvare <jdelvare@suse.de>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
2016-07-26 08:44:56 +02:00
..
algos
busses i2c: i801: use IS_ENABLED() instead of checking for built-in or module 2016-07-26 08:44:56 +02:00
muxes i2c: mux: reg: Provide of_match_table 2016-06-09 22:38:16 +02:00
i2c-boardinfo.c
i2c-core.c Revert "i2c: core: Cleanup I2C ACPI namespace" 2016-07-19 05:57:38 +02:00
i2c-core.h
i2c-dev.c i2c-dev: don't get i2c adapter via i2c_dev 2016-07-08 10:29:31 +09:00
i2c-mux.c
i2c-slave-eeprom.c
i2c-smbus.c i2c: i2c-smbus: fix i2c_handle_smbus_host_notify documentation 2016-07-18 20:09:54 +02:00
i2c-stub.c
Kconfig i2c: Update the description of I2C_SMBUS 2016-07-18 20:11:08 +02:00
Makefile