[PATCH v2 4/7] leds: leds-mt6323: Open code and drop MT6323_CAL_HW_DUTY macro
Alexandre Mergnat
amergnat at baylibre.com
Thu Apr 13 06:06:25 PDT 2023
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 at collabora.com>
Reviewed-by: Alexandre Mergnat <amergnat at baylibre.com>
--
Regards,
Alexandre
More information about the Linux-mediatek
mailing list