Re: [PATCH] media: rzg2l-cru: Fix typo in rzg2l_cru_of_id_table struct

From: Laurent Pinchart
Date: Mon May 26 2025 - 06:52:07 EST


On Mon, May 26, 2025 at 09:52:33AM +0200, Tommaso Merciai wrote:
> Correct the misnamed .data member for the RZ/G2L CRU. Rename
> `rzgl2_cru_info` to `rzg2l_cru_info` to match the intended
> naming convention.
>
> Signed-off-by: Tommaso Merciai <tommaso.merciai.xr@xxxxxxxxxxxxxx>

Reviewed-by: Laurent Pinchart <laurent.pinchart+renesas@xxxxxxxxxxxxxxxx>

> ---
> drivers/media/platform/renesas/rzg2l-cru/rzg2l-core.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/media/platform/renesas/rzg2l-cru/rzg2l-core.c b/drivers/media/platform/renesas/rzg2l-cru/rzg2l-core.c
> index c2528cb3ba4f..a1ae662b2ec6 100644
> --- a/drivers/media/platform/renesas/rzg2l-cru/rzg2l-core.c
> +++ b/drivers/media/platform/renesas/rzg2l-cru/rzg2l-core.c
> @@ -421,7 +421,7 @@ static const u16 rzg2l_cru_regs[] = {
> [ICnDMR] = 0x26c,
> };
>
> -static const struct rzg2l_cru_info rzgl2_cru_info = {
> +static const struct rzg2l_cru_info rzg2l_cru_info = {
> .max_width = 2800,
> .max_height = 4095,
> .image_conv = ICnMC,
> @@ -440,7 +440,7 @@ static const struct of_device_id rzg2l_cru_of_id_table[] = {
> },
> {
> .compatible = "renesas,rzg2l-cru",
> - .data = &rzgl2_cru_info,
> + .data = &rzg2l_cru_info,
> },
> { /* sentinel */ }
> };

--
Regards,

Laurent Pinchart