1. 28 1月, 2016 4 次提交
    • G
      Input: serio - drop warnings in case of EPROBE_DEFER from serio_find_driver() · 015bb5e1
      Grygorii Strashko 提交于
      Now serio_find_driver() will print warnings in case device_attach()
      returns -EPROBE_DEFER. Those warnings are obsolete, in genral, because:
      - DD core can report the same if required
      - since commit 013c074f ("PM / sleep: prohibit devices probing
      during suspend/hibernation") the devices probing is prohibited during
      System suspend and deferred device will be carefully reprobed once
      Resume is finished.
      
      Hence, drop warnings in case of EPROBE_DEFER from serio_find_driver().
      Signed-off-by: NGrygorii Strashko <grygorii.strashko@ti.com>
      Acked-by: NRafael J. Wysocki <rafael.j.wysocki@intel.com>
      Signed-off-by: NDmitry Torokhov <dmitry.torokhov@gmail.com>
      015bb5e1
    • A
      Input: cap11xx - add missing of_node_put · 497e1b3f
      Amitoj Kaur Chawla 提交于
      for_each_child_of_node performs an of_node_get on each iteration, so
      to break out of the loop an of_node_put is required.
      
      Found using Coccinelle.
      Signed-off-by: NAmitoj Kaur Chawla <amitoj1606@gmail.com>
      Signed-off-by: NDmitry Torokhov <dmitry.torokhov@gmail.com>
      497e1b3f
    • A
      Input: sirfsoc-onkey - allow modular build · af6e9463
      Arnd Bergmann 提交于
      CONFIG_INPUT may itself be a loadable module, but the sirf power key
      driver is listed as 'bool', which makes it possible to select
      a broken configuration with the driver built-in but the subsystem
      not loaded. In this configuration, we get a link error:
      
      drivers/input/built-in.o: In function `sirfsoc_pwrc_isr':
      drivers/input/misc/sirfsoc-onkey.c:63: undefined reference to `input_event'
      drivers/input/built-in.o: In function `sirfsoc_pwrc_isr':
      include/linux/input.h:414: undefined reference to `input_event'
      drivers/input/built-in.o: In function `sirfsoc_pwrc_probe':
      drivers/input/misc/sirfsoc-onkey.c:132: undefined reference to `devm_input_allocate_device'
      drivers/input/misc/sirfsoc-onkey.c:139: undefined reference to `input_set_capability'
      drivers/input/misc/sirfsoc-onkey.c:161: undefined reference to `input_register_device'
      drivers/input/built-in.o: In function `sirfsoc_pwrc_report_event':
      drivers/input/misc/sirfsoc-onkey.c:48: undefined reference to `input_event'
      drivers/input/built-in.o: In function `sirfsoc_pwrc_report_event':
      include/linux/input.h:414: undefined reference to `input_event'
      drivers/input/built-in.o:(.debug_addr+0x24): undefined reference to `input_event'
      drivers/input/built-in.o:(.debug_addr+0xbc): undefined reference to `devm_input_allocate_device'
      drivers/input/built-in.o:(.debug_addr+0x104): undefined reference to `input_set_capability'
      drivers/input/built-in.o:(.debug_addr+0x128): undefined reference to `input_register_device'
      
      This marks the driver as 'tristate' so it becomes possible to have
      it in a loadable module, mainly to help with randconfig builds.
      
      We also have to add a missing semicolon here, which ended up not
      being needed in built-in mode because the following MODULE_DEVICE_TABLE
      is an empty macro followed by another semicolon then.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Signed-off-by: NDmitry Torokhov <dmitry.torokhov@gmail.com>
      af6e9463
    • A
      Input: xpad - remove unused function · a6ed4a18
      Arnd Bergmann 提交于
      There are two definitions of xpad_identify_controller(), one is used
      when CONFIG_JOYSTICK_XPAD_LEDS is set, but the other one is empty
      and never used, and we get a gcc warning about it:
      
      drivers/input/joystick/xpad.c:1210:13: warning: 'xpad_identify_controller' defined but not used [-Wunused-function]
      
      This removes the second definition.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Fixes: cae705ba ("Input: xpad - re-send LED command on present event")
      Signed-off-by: NDmitry Torokhov <dmitry.torokhov@gmail.com>
      a6ed4a18
  2. 22 1月, 2016 1 次提交
  3. 13 1月, 2016 4 次提交
  4. 12 1月, 2016 3 次提交
  5. 11 1月, 2016 2 次提交
  6. 08 1月, 2016 4 次提交
  7. 07 1月, 2016 3 次提交
  8. 05 1月, 2016 4 次提交
  9. 03 1月, 2016 3 次提交
  10. 20 12月, 2015 1 次提交
  11. 19 12月, 2015 4 次提交
  12. 18 12月, 2015 7 次提交
新手
引导
客服 返回
顶部