Re: [PATCH v6 2/2] drivers: hwmon: max31827: Add PEC support

From: Guenter Roeck
Date: Fri May 31 2024 - 16:40:19 EST


On Fri, May 31, 2024 at 11:46:44AM +0300, Radu Sabau wrote:
> Add support for PEC by configuring the chip accordingly to the hwmon
> core PEC attribute handling.
>
> Handle hwmon_chip_pec attribute writing in the max31827_write in the
> hwmon_chip type switch case, using the same code structure as for
> writing temperature limits.
>
> Signed-off-by: Radu Sabau <radu.sabau@xxxxxxxxxx>
> Reviewed-by: Nuno Sa <nuno.sa@xxxxxxxxxx>

Applied to hwmon-next.

Thanks,
Guenter