[PATCH 3/9] ARM: dts: sun8i: r40: Use tcon top clock index macros

Chen-Yu Tsai wens at csie.org
Fri Jun 14 03:21:32 UTC 2019


On Fri, Jun 14, 2019 at 2:54 AM Jagan Teki <jagan at amarulasolutions.com> wrote:
>
> tcon_tv0, tcon_tv1 nodes have a clock names of tcon-ch0,
> tcon-ch1 which are referring tcon_top clocks via index
> numbers like 0, 1 with CLK_TCON_TV0 and CLK_TCON_TV1
> respectively.
>
> Use the macro in place of index numbers, for more code
> readability.
>
> Signed-off-by: Jagan Teki <jagan at amarulasolutions.com>

Reviewed-by: Chen-Yu Tsai <wens at csie.org>


More information about the dri-devel mailing list