27 Sep, 2006

1 commit

  • i2c: __must_check fixes (chip drivers)

    Check for error on sysfs file creation.
    Delete sysfs files on device removal.

    The approach taken for the most complex case (pcf8591) is similar to
    what Mark M. Hoffman proposed for hardware monitoring chip drivers.

    Signed-off-by: Jean Delvare
    Cc: Ben Gardner
    Cc: Aurelien Jarno
    Signed-off-by: Greg Kroah-Hartman

    Jean Delvare
     

06 Jan, 2006

3 commits


29 Oct, 2005

2 commits


06 Sep, 2005

4 commits

  • The only thing left in i2c-sensor.h are module parameter definition
    macros. It's only an extension of what i2c.h offers, and this extension
    is not sensors-specific. As a matter of fact, a few non-sensors drivers
    use them. So we better merge them in i2c.h, and get rid of i2c-sensor.h
    altogether.

    Signed-off-by: Jean Delvare
    Signed-off-by: Greg Kroah-Hartman

    Jean Delvare
     
  • i2c_probe and i2c_detect now do the exact same thing and operate on
    the same data structure, so we can have everyone call i2c_probe.

    Signed-off-by: Jean Delvare
    Signed-off-by: Greg Kroah-Hartman

    Jean Delvare
     
  • We could refactor the error message 34 different i2c drivers print if
    i2c_detach_client() fails in this function itself. Saves quite a few
    lines of code. Documentation is updated to reflect that change.

    Note that this patch should be applied after Rudolf Marek's w83792d
    patches.

    Signed-off-by: Jean Delvare
    Signed-off-by: Greg Kroah-Hartman

    Jean Delvare
     
  • Kill normal_isa in header files, documentation and all chip drivers, as
    it is no more used.

    normal_i2c could be renamed to normal, but I decided not to do so at the
    moment, so as to limit the number of changes. This might be done later
    as part of the i2c_probe/i2c_detect merge.

    Signed-off-by: Greg Kroah-Hartman

    Jean Delvare
     

22 Jun, 2005

1 commit

  • I found a possible cleanup in the pcf8574 driver. We don't need to store
    the read value in our private data structure, as we then never use it
    again. I asked Aurelien and he is fine with the change. Please apply,
    thanks.

    Signed-off-by: Jean Delvare
    Signed-off-by: Greg Kroah-Hartman

    Jean Delvare
     

21 Jun, 2005

1 commit


17 Apr, 2005

1 commit

  • 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!

    Linus Torvalds