Re: qestion about I2C_CLASS_HWMON flag

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Jean Delvare
Date: Friday, September 5, 2008 - 6:11 am

On Fri, 5 Sep 2008 14:44:30 +0200, Francis Moreau wrote:

It's not about hacking, it can be done cleanly. Just have the adapter
driver code check for information in the platform data, and if class
information is provided, use that instead of the default value. Or if
all users will provide the information, don't even have a default in
the driver. Again, the class flags are a (needed) mechanism, the policy
is left for driver authors and platform maintainers to establish.


Indeed.


Exactly. Except on powerpc where they have a different mechanism, I
think.

-- 
Jean Delvare
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
qestion about I2C_CLASS_HWMON flag, Francis Moreau, (Thu Sep 4, 12:43 am)
Re: qestion about I2C_CLASS_HWMON flag, Jean Delvare, (Thu Sep 4, 12:58 am)
Re: qestion about I2C_CLASS_HWMON flag, Francis Moreau, (Thu Sep 4, 1:04 am)
Re: qestion about I2C_CLASS_HWMON flag, Francis Moreau, (Thu Sep 4, 1:05 am)
Re: qestion about I2C_CLASS_HWMON flag, Jean Delvare, (Thu Sep 4, 1:37 am)
Re: qestion about I2C_CLASS_HWMON flag, Francis Moreau, (Thu Sep 4, 1:49 am)
Re: qestion about I2C_CLASS_HWMON flag, Jean Delvare, (Thu Sep 4, 3:08 am)
Re: qestion about I2C_CLASS_HWMON flag, Francis Moreau, (Fri Sep 5, 1:57 am)
Re: qestion about I2C_CLASS_HWMON flag, Jean Delvare, (Fri Sep 5, 2:20 am)
Re: qestion about I2C_CLASS_HWMON flag, Francis Moreau, (Fri Sep 5, 5:44 am)
Re: qestion about I2C_CLASS_HWMON flag, Jean Delvare, (Fri Sep 5, 6:11 am)
Re: qestion about I2C_CLASS_HWMON flag, Francis Moreau, (Fri Sep 5, 6:38 am)
Re: qestion about I2C_CLASS_HWMON flag, Jean Delvare, (Fri Sep 5, 6:49 am)
Re: qestion about I2C_CLASS_HWMON flag, Francis Moreau, (Fri Sep 5, 7:44 am)