Tobias Klauser 2e58cdcc22 Input: st-keyscan - fix 'defined but not used' compiler warnings
Add #ifdef CONFIG_PM_SLEEP around keyscan_supend() and keyscan_resume() to
fix the following compiler warnings occuring if CONFIG_PM_SLEEP is unset:

  + /scratch/kisskb/src/drivers/input/keyboard/st-keyscan.c: warning: 'keyscan_resume' defined but not used [-Wunused-function]:  => 235:12
  + /scratch/kisskb/src/drivers/input/keyboard/st-keyscan.c: warning: 'keyscan_suspend' defined but not used [-Wunused-function]:  => 218:12

Reported-by: Geert Uytterhoeven <geert@linux-m68k.org>
Link: https://lkml.org/lkml/2014/7/8/109
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
2014-07-18 10:18:55 -07:00
..
2013-12-06 02:06:29 -08:00
2012-11-24 00:05:38 -08:00
2014-06-07 23:24:07 -07:00
2013-12-06 02:06:29 -08:00
2013-12-06 02:06:29 -08:00
2012-11-24 00:05:38 -08:00
2014-05-14 16:39:46 -07:00
2013-12-06 02:06:29 -08:00
2013-12-06 02:06:29 -08:00