summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorFabian Frederick <fabf@skynet.be>2016-11-12 09:49:12 +0100
committerFelipe Balbi <felipe.balbi@linux.intel.com>2016-11-18 13:54:41 +0200
commit6ae660b59c9f1c121f0e2358e27191dfcec723ad (patch)
treef390abd9c83bc7ff536910170a0f95f1d29c6f25 /drivers
parent5909cbc881d021b02a00413b3083c771c5a8e309 (diff)
downloadlinux-6ae660b59c9f1c121f0e2358e27191dfcec723ad.tar.bz2
usb: isp1301-omap: don't opencode IS_REACHABLE()
We have a macro which does the same trick. Let's use it. Signed-off-by: Fabian Frederick <fabf@skynet.be> Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/usb/phy/phy-isp1301-omap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/phy/phy-isp1301-omap.c b/drivers/usb/phy/phy-isp1301-omap.c
index 8d111ec653e4..042c5a8fd423 100644
--- a/drivers/usb/phy/phy-isp1301-omap.c
+++ b/drivers/usb/phy/phy-isp1301-omap.c
@@ -94,7 +94,7 @@ struct isp1301 {
#if defined(CONFIG_MACH_OMAP_H2) || defined(CONFIG_MACH_OMAP_H3)
-#if defined(CONFIG_TPS65010) || (defined(CONFIG_TPS65010_MODULE) && defined(MODULE))
+#if IS_REACHABLE(CONFIG_TPS65010)
#include <linux/i2c/tps65010.h>