1. 06 4月, 2009 1 次提交
  2. 09 1月, 2009 1 次提交
    • R
      leds: Add suspend/resume to the core class · 859cb7f2
      Richard Purdie 提交于
      Add suspend/resume to the core class and remove all the now unneeded
      code from various drivers. Originally the class code couldn't support
      suspend/resume but since class_device can there is no reason for
      each driver doing its own suspend/resume anymore.
      859cb7f2
  3. 08 1月, 2009 1 次提交
  4. 21 10月, 2008 3 次提交
  5. 17 10月, 2008 1 次提交
  6. 21 5月, 2008 1 次提交
    • G
      LEDS: fix race in device_create · 0b00fc58
      Greg Kroah-Hartman 提交于
      There is a race from when a device is created with device_create() and
      then the drvdata is set with a call to dev_set_drvdata() in which a
      sysfs file could be open, yet the drvdata will be NULL, causing all
      sorts of bad things to happen.
      
      This patch fixes the problem by using the new function,
      device_create_drvdata().
      
      Cc: Kay Sievers <kay.sievers@vrfy.org>
      Cc: Richard Purdie <rpurdie@rpsys.net>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      0b00fc58
  7. 29 4月, 2008 1 次提交
  8. 25 4月, 2008 2 次提交
  9. 20 4月, 2008 1 次提交
    • R
      PM: Remove destroy_suspended_device() · b844eba2
      Rafael J. Wysocki 提交于
      After 2.6.24 there was a plan to make the PM core acquire all device
      semaphores during a suspend/hibernation to protect itself from
      concurrent operations involving device objects.  That proved to be
      too heavy-handed and we found a better way to achieve the goal, but
      before it happened, we had introduced the functions
      device_pm_schedule_removal() and destroy_suspended_device() to allow
      drivers to "safely" destroy a suspended device and we had adapted some
      drivers to use them.  Now that these functions are no longer necessary,
      it seems reasonable to remove them and modify their users to use the
      normal device unregistration instead.
      Signed-off-by: NRafael J. Wysocki <rjw@sisk.pl>
      Acked-by: NPavel Machek <pavel@ucw.cz>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      b844eba2
  10. 06 2月, 2008 1 次提交
  11. 01 1月, 2008 1 次提交
  12. 07 12月, 2007 1 次提交
  13. 16 7月, 2007 1 次提交
  14. 17 10月, 2006 1 次提交
  15. 04 10月, 2006 1 次提交
  16. 01 7月, 2006 1 次提交
  17. 16 5月, 2006 1 次提交
  18. 01 4月, 2006 2 次提交