[lm-sensors] [PATCH] hwmon: LTC4261 Hardware monitoring driver

Guenter Roeck guenter.roeck at ericsson.com
Sat Sep 18 17:04:29 CEST 2010


On Sat, Sep 18, 2010 at 12:32:41AM -0400, Guenter Roeck wrote:
> This driver adds support for Linear Technology LTC4261 I2C Negative
> Voltage Hot Swap Controller.
> 
> Signed-off-by: Guenter Roeck <guenter.roeck at ericsson.com>
> 
[...]

> +
> +/* chip registers */
> +#define	LTC4261_STATUS	0x00	/* readonly */
> +#define	LTC4261_FAULT	0x01
> +#define	LTC4261_ALERT	0x02
> +#define	LTC4261_CONTROL	0x03
> +#define	LTC4261_SENSE_H	0x04
> +#define	LTC4261_SENSE_L	0x05
> +#define	LTC4261_ADIN2_H	0x06
> +#define	LTC4261_ADIN2_L	0x07
> +#define	LTC4261_ADIN_H	0x08
> +#define	LTC4261_ADIN_L	0x09
> +

Wretched tab after define. Always hits me. I'll fix that
with the next version of the patch. No need to comment.

Guenter




More information about the lm-sensors mailing list