Re: qestion about I2C_CLASS_HWMON flag

From: Jean Delvare
Date: Thu Sep 04 2008 - 04:37:28 EST


Hi Francis,

On Thu, Sep 4, 2008 at 9:43 AM, Francis Moreau <francis.moro@xxxxxxxxx> wrote:
> I'm wondering why does this flag exist ?
>
> Why is a hw monitor device so special so that an I2C bus needs
> a flag to tell the rest of the world that it support it ?

I don't understand your point. We have I2C_CLASS flags for many I2C
device types (analog TV, digital TV, etc.) I2C_CLASS_HWMON isn't the
exception you describe. Look at <linux/i2c.h> for a list of these flags.

--
Jean Delvare
--
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/