Re: SFC driver implements its own I2C support

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Jean Delvare
Date: Thursday, May 15, 2008 - 5:39 am

On Thu, 15 May 2008 13:04:50 +0100 (BST), Michael Brown wrote:

This is correct and is still the case. This eeprom driver is a simple
way to export small EEPROM data to user-space in read-only mode. It
should not be considered as a real driver for EEPROM access. For that,
please see the upcoming at24c driver:
  http://lists.lm-sensors.org/pipermail/i2c/2008-April/003307.html
Apparently there are a lot of people interested in this so I will have
to find some time to finally review and merge the driver if it is ready
to go. Help with testing and review is welcome.


This part of the code has been reworked completely. That being said, I
see that the i2c_driver remove method returns an int not void, so it
can still fail. There doesn't seem to be a common behavior in this
respect amongst subsystems, some allow the remove method to fail and
others don't. If you think that the i2c subsystem should not let remove
methods fail, we can discuss this. But most likely, the error code is
purely informative so it doesn't really matter if we return it or void.

-- 
Jean Delvare
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
SFC driver implements its own I2C support, Jean Delvare, (Tue May 13, 1:33 am)
Re: SFC driver implements its own I2C support, Ben Hutchings, (Wed May 14, 2:58 pm)
Re: SFC driver implements its own I2C support, Jean Delvare, (Thu May 15, 2:24 am)
Re: [i2c] SFC driver implements its own I2C support, Riku Voipio, (Thu May 15, 5:03 am)
Re: SFC driver implements its own I2C support, Michael Brown, (Thu May 15, 5:04 am)
Re: SFC driver implements its own I2C support, Jean Delvare, (Thu May 15, 5:39 am)
Re: [i2c] SFC driver implements its own I2C support, Wolfram Sang, (Thu May 15, 5:58 am)
Re: SFC driver implements its own I2C support, Michael Brown, (Thu May 15, 7:52 am)