Re: [PATCH v2 4/7] leds: leds-mt6323: Open code and drop MT6323_CAL_HW_DUTY macro

From: Alexandre Mergnat
Date: Thu Apr 13 2023 - 09:06:42 EST


On 12/04/2023 17:33, AngeloGioacchino Del Regno wrote:
There is only one instance of using this macro and it's anyway not
simplifying the flow, or increasing the readability of this driver.

Drop this macro by open coding it in mt6323_led_set_blink().

No functional changes.

Signed-off-by: AngeloGioacchino Del Regno<angelogioacchino.delregno@xxxxxxxxxxxxx>

Reviewed-by: Alexandre Mergnat <amergnat@xxxxxxxxxxxx>

--
Regards,
Alexandre