[lm-sensors] [patch 2.6.25] lm75: cleanup/reorg
Mark M. Hoffman
mhoffman at lightlink.com
Sun Jun 8 16:44:44 CEST 2008
Hi David:
* David Brownell <david-b at pacbell.net> [2008-04-21 12:10:53 -0700]:
> Minor cleanup and reorg of the lm75 code.
>
> - Kconfig provides a larger list of lm75-compatible chips
>
> - A top comment now says what the driver does (!) ... as in, just
> what sort of sensor is this??
>
> - Section comments now delineate the various sections of the driver:
> hwmon attributes, driver binding, register access, module glue.
> One driver binding function moved out of the attribute section,
> as did the driver struct itself.
>
> - Minor tweaks to legacy probe logic: correct a comment, and
> remove a pointless variable.
>
> - Whitespace, linelength, and comment fixes.
>
> This patch should include no functional changes. It's preparation
> for adding new-style (driver model) I2C driver binding.
>
> Signed-off-by: David Brownell <dbrownell at users.sourceforge.net>
> Acked-by: Jean Delvare <khali at linux-fr.org>
> Acked-by: Laurent Pinchart <laurentp at cse-semaphore.com>
> ---
> drivers/hwmon/Kconfig | 20 +++++++----
> drivers/hwmon/lm75.c | 90 ++++++++++++++++++++++++++++----------------------
> 2 files changed, 64 insertions(+), 46 deletions(-)
Applied to hwmon-2.6.git/testing, thanks.
--
Mark M. Hoffman
mhoffman at lightlink.com
More information about the lm-sensors
mailing list