Re: [lm-sensors] [PATCHv3 6/11] HWMON: HWMON module of DA9052 device driver

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Guenter Roeck
Date: Thursday, December 23, 2010 - 3:20 pm

On Tue, Dec 21, 2010 at 12:52:50PM -0500, dd diasemi wrote:

[ ... ]


Driver doesn't follow hwmon sysfs ABI, with no good reason.
As for the labels, I am not sure if the provided labels reflect chip data 
or the use of the chip on a specific board. The product brief seems to indicate
the latter. If so, defining label attribute files is not appropriate. Labels
can then be assigned through sensors.conf.

The use of ifdefs in the code is excessive. There should be a single Kconfig entry
to enable the driver. Remaining data can be provided with platform data if it is 
mandatory, or sensors not supported on a given board can be configured to be 
ignored via sensors.conf.

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

Messages in current thread:
Re: [lm-sensors] [PATCHv3 6/11] HWMON: HWMON module of DA9 ..., Guenter Roeck, (Thu Dec 23, 3:20 pm)