Input: twl4030-vibra - really switch from #if to #ifdef
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Sun, 11 Mar 2012 23:02:06 +0000 (16:02 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 13 Mar 2012 05:18:54 +0000 (22:18 -0700)
commit7a0a1dfe9b319528ef8f681d610b8a49797ab475
tree15c636085432ed5afb519b42c943dced72896f62
parent19d57d3a145e94349abf805eed2316ef720d86c2
Input: twl4030-vibra - really switch from #if to #ifdef

The commit f3761c0779b62276b5bf84532a81d5dc49bd721f claimed to change
#if to #ifdef to avoid compiler warnings when CONFIG_PM_SLEEP is not
defined, but failed at that.

Reported-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/misc/twl4030-vibra.c