1. 25 4月, 2008 7 次提交
  2. 23 4月, 2008 1 次提交
  3. 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
  4. 19 4月, 2008 2 次提交
  5. 16 4月, 2008 1 次提交
  6. 01 4月, 2008 2 次提交
  7. 09 2月, 2008 1 次提交
    • D
      PWM LED driver · de5c9ede
      David Brownell 提交于
      This is a LED driver using the PWM on newer SOCs from Atmel; brightness is
      controlled by changing the PWM duty cycle.  So for example if you've set up
      two leds labeled "pwm0" and "pwm1":
      
      	echo 0 > /sys/class/leds/pwm2/brightness	# off (0%)
      	echo 80 > /sys/class/leds/pwm2/brightness
      	echo 255 > /sys/class/leds/pwm2/brightness	# on (100%)
      
      Note that "brightness" here isn't linear; maybe that should change.  Going
      from 4 to 8 probably doubles perceived brightness, while 244 to 248 is
      imperceptible.
      
      This is mostly intended to be a simple example of PWM, although it's
      realistic since LCD backlights are often driven with PWM to conserve
      battery power (and offer brightness options).
      Signed-off-by: NDavid Brownell <dbrownell@users.sourceforge.net>
      Signed-off-by: NHaavard Skinnemoen <hskinnemoen@atmel.com>
      Cc: Richard Purdie <rpurdie@rpsys.net>
      Cc: Andrew Victor <linux@maxim.org.za>
      Cc: Nicolas Ferre <nicolas.ferre@atmel.com>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      de5c9ede
  8. 07 2月, 2008 8 次提交
  9. 06 2月, 2008 1 次提交
  10. 01 1月, 2008 2 次提交
  11. 07 12月, 2007 1 次提交
  12. 06 11月, 2007 1 次提交
    • D
      leds: bugfixes for leds-gpio · 199fb21d
      David Brownell 提交于
      Three bugfixes to the leds-gpio driver, plus minor whitespace tweaks:
      
       - Do the INIT_WORK() before registering each LED, so if its trigger
         becomes immediately active it can schedule work without oopsing..
      
       - Use normal registration, not platform_driver_probe(), so that
         devices appearing "late" (hotplug type) can still be bound.
      
       - Mark the driver remove code as "__devexit", preventing oopses
         when the underlying device is removed.
      
      These issues came up when using this driver with some GPIO expanders
      living on serial busses, which act unlike "normal" platform devices:
      they can appear and vanish along with the serial bus driver.
      Signed-off-by: NDavid Brownell <dbrownell@users.sourceforge.net>
      Signed-off-by: NRichard Purdie <rpurdie@rpsys.net>
      199fb21d
  13. 20 10月, 2007 1 次提交
  14. 16 10月, 2007 1 次提交
  15. 13 10月, 2007 1 次提交
    • A
      kconfig: syntax cleanup - drop support for "depends/requires/def_boolean" · 247537b9
      Adrian Bunk 提交于
      Remove the following redundant and never or rarely used kconfig syntax:
      
      - "def_boolean" (same as "def_bool")
      - "requires" (same as "depends on")
      - "depends" (same as "depends on")
      
      This patch contains the code changes and Kconfig updates.
      The shipped files are in next patch to let actual codechange stand out.
      Signed-off-by: NAdrian Bunk <bunk@kernel.org>
      Cc: "Randy.Dunlap" <rdunlap@xenotime.net>
      Cc: Bryan Wu <bryan.wu@analog.com>
      Cc: Paul Mackerras <paulus@samba.org>
      Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
      Cc: Dmitry Torokhov <dtor@mail.ru>
      Cc: "John W. Linville" <linville@tuxdriver.com>
      Cc: Roman Zippel <zippel@linux-m68k.org>
      Cc: Richard Purdie <rpurdie@rpsys.net>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
      247537b9
  16. 12 10月, 2007 3 次提交
  17. 16 7月, 2007 6 次提交