Re: [PATCH v2 1/2] hwmon: Add Congatec Board Controller monitoring driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 11/11/24 20:31, Guenter Roeck wrote:
> 
> I don't understand why this would be needed anyway. The current channel
> index is well known, so adding or subtracting a constant should do it.

My first idea to use this macro was to avoid issue if a new voltage
sensor is added in the future.

But it's useless. If in a new generation of Board Controller a voltage
sensor is added, it will be added at the end of the list.

But it doesn't exist for now, so no need to take care.

I'll just add a constant for curr sensors.

Regards,

Thomas





[Index of Archives]     [LM Sensors]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux