Input: i8042 - comment #else/#endif of CONFIG_PNP
authorMarcos Paulo de Souza <marcos.souza.org@gmail.com>
Sat, 10 Dec 2016 01:59:56 +0000 (17:59 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 12 Dec 2016 19:26:21 +0000 (11:26 -0800)
As this define check if huge, this makes easier to read the code.

Signed-off-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/serio/i8042-x86ia64io.h

index b42787e21d0aba78a836e9457cbbe56e3067e9ec..21e134798ba396ea4fac022c829f32661abd352d 100644 (file)
@@ -1052,10 +1052,10 @@ static int __init i8042_pnp_init(void)
        return 0;
 }
 
-#else
+#else  /* !CONFIG_PNP */
 static inline int i8042_pnp_init(void) { return 0; }
 static inline void i8042_pnp_exit(void) { }
-#endif
+#endif /* CONFIG_PNP */
 
 static int __init i8042_platform_init(void)
 {