1. 27 9月, 2006 2 次提交
    • J
      i2c-dev: Use a list for data storage · f3b3aadb
      Jean Delvare 提交于
      i2c-dev: Use a list for data storage
      
      Use a list instead of a static array for storing the i2c-dev data.
      Given that most systems have less than 10 i2c busses, most of the
      space was wasted, so this saves around 1 kB of memory (2 kB on 64-bit
      archs.)
      
      The drawback is that lookup was in O(1) and is now in O(N), but given
      that the values of N are always small, I don't think this is a problem.
      Signed-off-by: NJean Delvare <khali@linux-fr.org>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      f3b3aadb
    • J
      i2c-dev: Cleanups · 9455e4c9
      Jean Delvare 提交于
      i2c-dev: Cleanups
      
      * We no more need to include platform_device.h.
      * Delete the to_i2c_dev macro, which is no more used (and no more valid
        either.) 
      * Drop i2c_dev.minor. Now that the minor number always matches the i2c
        adapter number, this field is redundant with i2c_dev.adap->nr.
      * Delete i2c_dev_get_by_adapter() which is now redundant with
        i2c_dev_get_by_minor() for the same reason.
      * Drop the local variable dev in i2cdev_attach_adapter(), we can
        easily do without it.
      Signed-off-by: NJean Delvare <khali@linux-fr.org>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      9455e4c9
  2. 23 6月, 2006 1 次提交
  3. 06 1月, 2006 5 次提交
  4. 30 10月, 2005 1 次提交
  5. 29 10月, 2005 3 次提交
  6. 06 9月, 2005 1 次提交
  7. 22 6月, 2005 2 次提交
  8. 17 4月, 2005 1 次提交
    • L
      Linux-2.6.12-rc2 · 1da177e4
      Linus Torvalds 提交于
      Initial git repository build. I'm not bothering with the full history,
      even though we have it. We can create a separate "historical" git
      archive of that later if we want to, and in the meantime it's about
      3.2GB when imported into git - space that would just make the early
      git days unnecessarily complicated, when we don't have a lot of good
      infrastructure for it.
      
      Let it rip!
      1da177e4