1. 29 10月, 2005 5 次提交
    • J
      [PATCH] i2c: Minor i2c-amd8111 cleanup · 0f69a612
      Jean Delvare 提交于
      I noticed a useless instruction in the i2c-amd8111 driver.
      Signed-off-by: NJean Delvare <khali@linux-fr.org>
      CC: Vojtech Pavlik <vojtech@suse.cz>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      
       drivers/i2c/busses/i2c-amd8111.c |    1 -
       1 file changed, 1 deletion(-)
      0f69a612
    • J
      [PATCH] i2c: Adjust i2c_probe() for busses without SMBUS_QUICK · 4366dc94
      Jean Delvare 提交于
      Move the check for SMBUS_QUICK in i2c_probe() after the forced
      addresses have been handled. This makes it possible for a driver to
      leave the probed address lists empty, only providing forced addresses,
      and get i2c_probe to work even if the bus doesn't support SMBUS_QUICK.
      Signed-off-by: NJean Delvare <khali@linux-fr.org>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      
       drivers/i2c/i2c-core.c |   15 +++++++++++----
       1 file changed, 11 insertions(+), 4 deletions(-)
      4366dc94
    • J
      [PATCH] i2c: Reuse name strings in i2c bus drivers · d6072f84
      Jean Delvare 提交于
      Clean up name string usage in 12 i2c bus drivers:
      * Use the i2c_adapter name for requesting the I/O region rather than
        redefining a new string.
      * Do not initialize the i2c_adapter name to "unset".
      This should save a few data bytes here and there.
      Signed-off-by: NJean Delvare <khali@linux-fr.org>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      
       drivers/i2c/busses/i2c-ali1535.c |    6 +++---
       drivers/i2c/busses/i2c-ali1563.c |    6 ++++--
       drivers/i2c/busses/i2c-ali15x3.c |    5 +++--
       drivers/i2c/busses/i2c-amd756.c  |    5 ++---
       drivers/i2c/busses/i2c-amd8111.c |    4 +++-
       drivers/i2c/busses/i2c-i801.c    |    4 ++--
       drivers/i2c/busses/i2c-nforce2.c |    4 ++--
       drivers/i2c/busses/i2c-piix4.c   |    4 ++--
       drivers/i2c/busses/i2c-sis5595.c |    5 +++--
       drivers/i2c/busses/i2c-sis630.c  |    6 ++++--
       drivers/i2c/busses/i2c-sis96x.c  |    5 +++--
       drivers/i2c/busses/i2c-via.c     |    4 ++--
       12 files changed, 33 insertions(+), 25 deletions(-)
      d6072f84
    • J
      [PATCH] i2c: Discard explicit static initializations to 0 · 60507095
      Jean Delvare 提交于
      Kill explicit static initializations to 0 in 10 i2c drivers.
      Signed-off-by: NJean Delvare <khali@linux-fr.org>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      
       drivers/i2c/algos/i2c-algo-pca.c    |    2 +-
       drivers/i2c/algos/i2c-algo-sibyte.c |    2 +-
       drivers/i2c/busses/i2c-ali15x3.c    |    4 ++--
       drivers/i2c/busses/i2c-amd756.c     |    2 +-
       drivers/i2c/busses/i2c-iop3xx.c     |    2 +-
       drivers/i2c/busses/i2c-piix4.c      |    8 ++++----
       drivers/i2c/busses/i2c-sis5595.c    |    4 ++--
       drivers/i2c/busses/i2c-sis630.c     |    2 +-
       drivers/i2c/busses/i2c-sis96x.c     |    2 +-
       drivers/i2c/busses/i2c-via.c        |    2 +-
       10 files changed, 15 insertions(+), 15 deletions(-)
      60507095
    • R
      [PATCH] DRIVER MODEL: Get rid of the obsolete tri-level suspend/resume callbacks · 9480e307
      Russell King 提交于
      In PM v1, all devices were called at SUSPEND_DISABLE level.  Then
      all devices were called at SUSPEND_SAVE_STATE level, and finally
      SUSPEND_POWER_DOWN level.  However, with PM v2, to maintain
      compatibility for platform devices, I arranged for the PM v2
      suspend/resume callbacks to call the old PM v1 suspend/resume
      callbacks three times with each level in order so that existing
      drivers continued to work.
      
      Since this is obsolete infrastructure which is no longer necessary,
      we can remove it.  Here's an (untested) patch to do exactly that.
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      9480e307
  2. 23 9月, 2005 1 次提交
    • B
      [PATCH] ppc64: SMU driver update & i2c support · 0365ba7f
      Benjamin Herrenschmidt 提交于
      The SMU is the "system controller" chip used by Apple recent G5 machines
      including the iMac G5.  It drives things like fans, i2c busses, real time
      clock, etc...
      
      The current kernel contains a very crude driver that doesn't do much more
      than reading the real time clock synchronously.  This is a completely
      rewritten driver that provides interrupt based command queuing, a userland
      interface, and an i2c/smbus driver for accessing the devices hanging off
      the SMU i2c busses like temperature sensors.  This driver is a basic block
      for upcoming work on thermal control for those machines, among others.
      Signed-off-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
      Cc: Jean Delvare <khali@linux-fr.org>
      Cc: Greg KH <greg@kroah.com>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      0365ba7f
  3. 15 9月, 2005 1 次提交
  4. 13 9月, 2005 1 次提交
  5. 10 9月, 2005 1 次提交
  6. 09 9月, 2005 1 次提交
  7. 08 9月, 2005 1 次提交
  8. 06 9月, 2005 29 次提交