1. 23 10月, 2008 7 次提交
  2. 21 10月, 2008 3 次提交
  3. 20 10月, 2008 2 次提交
    • P
      x86: sysfs: kill owner field from attribute · 01e8ef11
      Parag Warudkar 提交于
      Tejun's commit 7b595756 made sysfs
      attribute->owner unnecessary.  But the field was left in the structure to
      ease the merge.  It's been over a year since that change and it is now
      time to start killing attribute->owner along with its users - one arch at
      a time!
      
      This patch is attempt #1 to get rid of attribute->owner only for
      CONFIG_X86_64 or CONFIG_X86_32 .  We will deal with other arches later on
      as and when possible - avr32 will be the next since that is something I
      can test.  Compile (make allyesconfig / make allmodconfig / custom config)
      and boot tested.
      
      akpm: the idea is that we put the declaration of sttribute.owner inside
      `#ifndef CONFIG_X86'.  But that proved to be too ambitious for now because
      new usages kept on turning up in subsystem trees.
      
      [akpm: remove the ifdef for now]
      Signed-off-by: NParag Warudkar <parag.lkml@gmail.com>
      Cc: Greg KH <greg@kroah.com>
      Cc: Ingo Molnar <mingo@elte.hu>
      Cc: Tejun Heo <htejun@gmail.com>
      Cc: Len Brown <lenb@kernel.org>
      Cc: Jens Axboe <jens.axboe@oracle.com>
      Cc: Jean Delvare <khali@linux-fr.org>
      Cc: Roland Dreier <rolandd@cisco.com>
      Cc: David Brownell <david-b@pacbell.net>
      Cc: Alessandro Zummo <a.zummo@towertech.it>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      01e8ef11
    • A
      i2c: use bcd2bin/bin2bcd · e4d33969
      Adrian Bunk 提交于
      Change i2c to use the new bcd2bin/bin2bcd functions instead of the
      obsolete BCD2BIN/BIN2BCD macros.
      Signed-off-by: NAdrian Bunk <bunk@kernel.org>
      Cc: Jean Delvare <khali@linux-fr.org>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      e4d33969
  4. 17 10月, 2008 2 次提交
    • J
      hwmon: (ams) Convert to a new-style i2c driver · 810ad7b6
      Jean Delvare 提交于
      The legacy i2c binding model is phasing out, so the ams driver needs
      to be converted to a new-style i2c driver. Here is a naive approach of
      this conversion. Basically it is moving the i2c device creation from
      the ams driver to the i2c-powermac driver. This should work, but I
      suspect we could come up with something cleaner by declaring the i2c
      device as part of the platform setup. This could be done later by
      someone more familiar with openfirmware-based platforms than I am
      myself.
      
      One nice thing brought by this conversion is that the ams driver
      should be loaded automatically on systems where is is needed (at
      least when the I2C interface to the chip is used) providing
      coldplug-aware user-space environment.
      Signed-off-by: NJean Delvare <khali@linux-fr.org>
      Acked-by: NJohannes Berg <johannes@sipsolutions.net>
      Cc: Stelian Pop <stelian@popies.net>
      Cc: Michael Hanselmann <linux-kernel@hansmi.ch>
      Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
      810ad7b6
    • G
      device create: misc: convert device_create_drvdata to device_create · a9b12619
      Greg Kroah-Hartman 提交于
      Now that device_create() has been audited, rename things back to the
      original call to be sane.
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      a9b12619
  5. 14 10月, 2008 13 次提交
  6. 09 10月, 2008 1 次提交
  7. 08 10月, 2008 1 次提交
  8. 03 10月, 2008 1 次提交
  9. 24 9月, 2008 2 次提交
  10. 23 9月, 2008 1 次提交
  11. 09 9月, 2008 3 次提交
  12. 06 9月, 2008 1 次提交
  13. 05 9月, 2008 1 次提交
    • M
      i2c: fix i2c-sh_mobile timing issues · 4eb00c9f
      Magnus Damm 提交于
      This patch teaches the i2c-sh_mobile driver to make use of wait irqs.
      Without this patch only dte irqs are used which may lead to overruns
      and cases of missing stop and extra bytes being read on the i2c bus.
      
      Use of wait irqs forces the hardware to pause and wait until the cpu
      is ready. Polling is also reworked in this patch to fix ms delay issues.
      
      Verified with bus analyzer and tested on MigoR and AP325RXA boards.
      Signed-off-by: NMagnus Damm <damm@igel.co.jp>
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      4eb00c9f
  14. 28 8月, 2008 2 次提交