Re: [PATCH] hwmon: driver for Sensirion SHT21 humidity and temperature sensor

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Guenter Roeck
Date: Monday, January 3, 2011 - 7:53 am

On Mon, Jan 03, 2011 at 06:06:51AM -0500, Jonathan Cameron wrote:
Might make sense to document it in the ABI, though.


I am opposed to non-ABI attributes. That doesn't mean that I am opposed to
extending the ABI; if the ABI needs to be extended, it should be extended
instead of providing non-standard attributes. But there should be a use case
for extending the ABI - meaning new ABI attributes should provide value not just
for one chip, but for others as well.

sysfs attributes should only be used for values expected to change during
runtime. "resolution" and "heater_enable" sounds like it might fit better into
platform data. System wide information can also be set using driver parameters.

Yes.

Guenter
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH] hwmon: driver for Sensirion SHT21 humidity and ..., Guenter Roeck, (Mon Jan 3, 7:53 am)