Re: [PATCH] drivers: hwmon: ltc2992: avoid division by zero

From: Guenter Roeck
Date: Wed Oct 25 2023 - 15:38:35 EST


On Wed, Oct 11, 2023 at 04:57:53PM +0300, Antoniu Miclaus wrote:
> Do not allow setting shunt resistor to 0. This results in a division by
> zero when performing current value computations based on input voltages
> and connected resistor values.
>
> Signed-off-by: Antoniu Miclaus <antoniu.miclaus@xxxxxxxxxx>

Applied. Please note that the subject should not include "drivers:".

Guenter