ata: Use IS_ENABLED() instead of checking for built-in or module
authorJavier Martinez Canillas <javier@osg.samsung.com>
Wed, 18 May 2016 20:11:28 +0000 (16:11 -0400)
committerTejun Heo <tj@kernel.org>
Fri, 27 May 2016 15:27:23 +0000 (11:27 -0400)
commit5219d6530ef0bca37bd8c4c637908638ce205ff9
tree179e2f2b9515fc26f2d583f1248ff4229522fafc
parentd2abf98e1feecfe333c2077f541986dedbe47cdb
ata: 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: Tejun Heo <tj@kernel.org>
drivers/ata/ahci.c
drivers/ata/pata_marvell.c