i2c: nforce2: Use IS_ENABLED() instead of checking for built-in or module
authorJavier Martinez Canillas <javier@osg.samsung.com>
Tue, 26 Apr 2016 17:22:33 +0000 (13:22 -0400)
committerWolfram Sang <wsa@the-dreams.de>
Tue, 26 Apr 2016 21:36:47 +0000 (23:36 +0200)
commitdd485951e79a6dcbf18ba1612ad91d45e4cfa9a7
tree1f85ea2018a3edc9b61464955af89e3c4e15827e
parent2b899f34e1db9adef8716d07e872a800dfa60790
i2c: nforce2: 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.

Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-nforce2.c