Re: [PATCH 2/2] hwmon: temperature: add support for EMC1812

From: Guenter Roeck

Date: Wed Oct 29 2025 - 16:32:02 EST


On 10/29/25 08:50, Marius Cristea wrote:
This is the hwmon driver for Microchip EMC1812/13/14/15/33
Multichannel Low-Voltage Remote Diode Sensor Family.

Signed-off-by: Marius Cristea <marius.cristea@xxxxxxxxxxxxx>
---
...
+ convrate = find_closest_descending(interval, emc1812_conv_time,
+ ARRAY_SIZE(emc1812_conv_time));

This needs to include linux/util_macros.h.

Guenter