Browse Source

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>
Fabian Frederick 8 years ago
parent
commit
6ae660b59c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/usb/phy/phy-isp1301-omap.c

+ 1 - 1
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>