Input: i8042-x86ia64io.h - Comment else/endif of CONFIG_PNP
Subsystems (2)
PATCH 1/1 Input: i8042-x86ia64io.h - Comment else/endif of CONFIG_PNP
As this define check if huge, this makes easier to read the code.
Signed-off-by Marcos Paulo de Souza <[email protected]>
---
While reviewing patches from Dmitry about presence of 8042, it makes it much easier to understand the ifdefs...
drivers/input/serio/i8042-x86ia64io.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/input/serio/i8042-x86ia64io.h +2 -2
@@ -1131,10 +1131,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 ) {
Signature · 1 line
2.9.3
Quoted 3 lines · Marcos Paulo de Souza
As this define check if huge, this makes easier to read the code.
Signed-off-by Marcos Paulo de Souza <[email protected]>
Applied, thank you.
Quoted 27 lines
---
While reviewing patches from Dmitry about presence of 8042, it makes it much easier to understand the ifdefs...drivers/input/serio/i8042-x86ia64io.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)drivers/input/serio/i8042-x86ia64io.h +2
-2@@ -1131,10 +1131,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 ) {Signature · 1 line
2.9.3
Signature · 1 line
Dmitry