[PATCH v4 5/9] drm/mediatek: dsi: Replace open-coded instance of HZ_PER_MHZ

Alexandre Mergnat amergnat at baylibre.com
Tue Feb 6 07:11:06 PST 2024


Reviewed-by: Alexandre Mergnat <amergnat at baylibre.com>

On 06/02/2024 13:07, AngeloGioacchino Del Regno wrote:
> In mtk_dsi_phy_timconfig(), we're dividing the `data_rate` variable,
> expressed in Hz to retrieve a value in MHz: instead of open-coding,
> use the HZ_PER_MHZ definition, available in linux/units.h.

-- 
Regards,
Alexandre



More information about the linux-arm-kernel mailing list