1. 06 4月, 2009 2 次提交
  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 1 次提交
    • T
      leds: Make default trigger fields const · 326bb8a5
      Trent Piepho 提交于
      The default_trigger fields of struct gpio_led and thus struct
      led_classdev are pretty much always assigned from a string literal,
      which means the string can't be modified.  Which is fine, since there is
      no reason to modify the string and in fact it never is.
      
      But they should be marked const to prevent such code from being added,
      to prevent warnings if -Wwrite-strings is used, when assigned from a
      constant string other than a string literal (which produces a warning
      under current kernel compiler flags), and for general good coding
      practices.
      Signed-off-by: NTrent Piepho <tpiepho@freescale.com>
      Signed-off-by: NRichard Purdie <rpurdie@linux.intel.com>
      326bb8a5
  5. 23 7月, 2008 2 次提交
  6. 25 4月, 2008 3 次提交
  7. 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
  8. 07 2月, 2008 1 次提交
  9. 06 2月, 2008 1 次提交
  10. 07 12月, 2007 1 次提交
  11. 12 9月, 2007 1 次提交
  12. 17 7月, 2007 1 次提交
  13. 16 7月, 2007 2 次提交
  14. 30 9月, 2006 1 次提交
  15. 11 4月, 2006 1 次提交
  16. 01 4月, 2006 3 次提交