1. 27 1月, 2009 3 次提交
  2. 14 1月, 2009 1 次提交
  3. 08 1月, 2009 1 次提交
  4. 07 1月, 2009 5 次提交
    • J
      i2c: Use snprintf to set adapter names · 66c7acf6
      Jean Delvare 提交于
      Use snprintf instead of sprintf to set adapter names, it's safer.
      Signed-off-by: NJean Delvare <khali@linux-fr.org>
      66c7acf6
    • J
      Input: apanel - convert to new i2c binding · 1561bfe5
      Jean Delvare 提交于
      Convert the apanel driver to the new i2c device driver binding model,
      as the legacy model is going away soon. In the new model, the apanel
      driver is no longer scanning all the i2c adapters, instead the
      relevant bus driver (i2c-i801) is instantiating the device as needed.
      
      One side benefit is that the apanel driver will now load automatically
      on all systems where it is needed.
      Signed-off-by: NJean Delvare <khali@linux-fr.org>
      Cc: Stephen Hemminger <shemminger@linux-foundation.org>
      1561bfe5
    • J
      i2c: Drop I2C_CLASS_ALL · e1995f65
      Jean Delvare 提交于
      I2C_CLASS_ALL is almost never what bus driver authors really want.
      These i2c classes are really only about which devices must be probed,
      not what devices can be present. As device drivers get converted to the
      new i2c device driver model, only a few device types will keep relying
      on probing.
      Signed-off-by: NJean Delvare <khali@linux-fr.org>
      Acked-by: Sonic Zhang <sonic.zhang@analog.com> 
      e1995f65
    • J
      i2c: Get rid of remaining bus_id access · 22e965c2
      Jean Delvare 提交于
      Use dev_name(dev) instead of accessing dev.bus_id directly, as the
      latter is going away soon.
      Signed-off-by: NJean Delvare <khali@linux-fr.org>
      Cc: Greg Kroah-Hartman <gregkh@suse.de>
      Cc: Kay Sievers <kay.sievers@vrfy.org>
      22e965c2
    • K
      i2c: Replace bus_id with dev_name(), dev_set_name() · 27d9c183
      Kay Sievers 提交于
      This patch is part of a larger patch series which will remove
      the "char bus_id[20]" name string from struct device. The device
      name is managed in the kobject anyway, and without any size
      limitation, and just needlessly copied into "struct device".
      
      To set and read the device name dev_name(dev) and dev_set_name(dev)
      must be used. If your code uses static kobjects, which it shouldn't
      do, "const char *init_name" can be used to statically provide the
      name the registered device should have. At registration time, the
      init_name field is cleared, to enforce the use of dev_name(dev) to
      access the device name at a later time.
      
      We need to get rid of all occurrences of bus_id in the entire tree
      to be able to enable the new interface. Please apply this patch,
      and possibly convert any remaining remaining occurrences of bus_id.
      
      We want to submit a patch to -next, which will remove bus_id from
      "struct device", to find the remaining pieces to convert, and finally
      switch over to the new api, which will remove the 20 bytes array
      and does no longer have a size limitation.
      Acked-by: NGreg Kroah-Hartman <gregkh@suse.de>
      Signed-off-by: NKay Sievers <kay.sievers@vrfy.org>
      Signed-off-by: NJean Delvare <khali@linux-fr.org>
      27d9c183
  5. 04 1月, 2009 2 次提交
  6. 22 12月, 2008 1 次提交
  7. 17 12月, 2008 8 次提交
  8. 11 12月, 2008 2 次提交
  9. 28 11月, 2008 3 次提交
  10. 27 11月, 2008 1 次提交
  11. 22 11月, 2008 12 次提交
  12. 13 11月, 2008 1 次提交