Re: [PATCH] hwmon: ina2xx: allow to change the averaging rate at run-time

From: Bartosz Golaszewski
Date: Wed Jan 07 2015 - 11:25:55 EST


2015-01-07 17:16 GMT+01:00 Guenter Roeck <linux@xxxxxxxxxxxx>:
> INA219 uses the same mechanism and timing as used by INA209. This way
> it is easily possible to extend the driver to support the attribute
> for every chip. But overall this uses the existing ABI (update_interval
> is part of the hwmon ABI) instead of creating a new driver specific
> attribute. Yes, that is quite important.
>
> The additional "overhead" is just to use different numbers and a
> different attribute name, so I don't really understand your concern.

My concern is that it seems less clear this way, but I understand the
priorities. Ok, I'll get back to it tomorrow.

Bart
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/