1. 04 10月, 2016 1 次提交
    • A
      Input: ektf2127 - mark PM functions as __maybe_unused · 979987de
      Arnd Bergmann 提交于
      The newly added ektf2127 driver uses the SIMPLE_DEV_PM_OPS macro
      to conditionally refer to the resume/suspend functions, which
      causes a warning when CONFIG_PM_SLEEP is disabled:
      
      drivers/input/touchscreen/ektf2127.c:168:12: error: 'ektf2127_resume' defined but not used [-Werror=unused-function]
      drivers/input/touchscreen/ektf2127.c:156:12: error: 'ektf2127_suspend' defined but not used [-Werror=unused-function]
      
      We could either put these functions inside of an #ifdef or
      add __maybe_unused annotations. This uses the second approach,
      which is generally more foolproof.
      
      Fixes: 9ca5bf50 ("Input: add support for Elan eKTF2127 touchscreen controller")
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Signed-off-by: NDmitry Torokhov <dmitry.torokhov@gmail.com>
      979987de
  2. 27 9月, 2016 1 次提交
  3. 11 9月, 2016 3 次提交
  4. 06 9月, 2016 1 次提交
  5. 26 8月, 2016 3 次提交
  6. 23 8月, 2016 6 次提交
  7. 04 8月, 2016 2 次提交
  8. 03 8月, 2016 3 次提交
  9. 21 7月, 2016 1 次提交
  10. 20 7月, 2016 2 次提交
  11. 16 7月, 2016 5 次提交
  12. 15 7月, 2016 1 次提交
  13. 14 7月, 2016 1 次提交
  14. 24 6月, 2016 2 次提交
  15. 02 6月, 2016 2 次提交
  16. 28 5月, 2016 3 次提交
  17. 20 5月, 2016 2 次提交
  18. 19 5月, 2016 1 次提交