1. 17 3月, 2012 1 次提交
  2. 12 11月, 2010 1 次提交
  3. 11 11月, 2010 1 次提交
    • D
      Input: pcf8574_keypad - fix error handling in pcf8574_kp_probe · 17d01f28
      Dan Carpenter 提交于
      It is not allowed to call input_free_device() after calling
      input_unregister_device() because input devices are refcounted and
      unregister will free the device if we were holding he last referenc.
      
      The preferred style in input/ is to make input_register_device() the
      last function in the probe which can fail.  That way we don't need to
      call input_unregister_device().
      
      Also do not need to call input_set_drvdata() as nothing in the driver
      uses the data.
      Signed-off-by: NDan Carpenter <error27@gmail.com>
      Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
      17d01f28
  4. 05 6月, 2010 1 次提交
  5. 03 6月, 2010 1 次提交
  6. 14 4月, 2010 1 次提交