aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/input/touchscreen/ad7879.c
diff options
context:
space:
mode:
authorJavier Martinez Canillas <javier@osg.samsung.com>2016-07-21 12:11:01 -0400
committerWolfram Sang <wsa@the-dreams.de>2016-07-26 08:44:56 +0200
commit175c7080f2747b96e4b5352e4c38ddf9a0eacfdb (patch)
tree0a368ebe90c45e9d80b516abdbce19fc6c22f940 /drivers/input/touchscreen/ad7879.c
parentDocumentation: i2c: slave: give proper example for pm usage (diff)
downloadlinux-dev-175c7080f2747b96e4b5352e4c38ddf9a0eacfdb.tar.xz
linux-dev-175c7080f2747b96e4b5352e4c38ddf9a0eacfdb.zip
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>
Diffstat (limited to 'drivers/input/touchscreen/ad7879.c')
0 files changed, 0 insertions, 0 deletions