Skip to content

Commit

Permalink
Input: i8042 - comment #else/#endif of CONFIG_PNP
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Marcos Paulo de Souza authored and Dmitry Torokhov committed Dec 12, 2016
1 parent 951a086 commit 4d46f01
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/input/serio/i8042-x86ia64io.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit 4d46f01

Please sign in to comment.