Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

i2c: riic: Move generic compatible string to end of array

Reorder the entry in `riic_i2c_dt_ids` to place the generic compatible
string `renesas,riic-rz` at the end of the array, following the
convention used in other Renesas drivers.

Also, drop the unnecessary comma after the sentinel entry, as it is
not needed.

Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Reviewed-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Tested-by: Wolfram Sang <wsa+renesas@sang-engineering.com> # on RZ/A1
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Andy Shevchenko <andy@kernel.org>
Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
Link: https://lore.kernel.org/r/20250625104526.101004-5-prabhakar.mahadev-lad.rj@bp.renesas.com

authored by

Lad Prabhakar and committed by
Andi Shyti
832b2f3e 11db6a53

+2 -2
+2 -2
drivers/i2c/busses/i2c-riic.c
··· 693 693 }; 694 694 695 695 static const struct of_device_id riic_i2c_dt_ids[] = { 696 - { .compatible = "renesas,riic-rz", .data = &riic_rz_a_info }, 697 696 { .compatible = "renesas,riic-r7s72100", .data = &riic_rz_a1h_info, }, 698 697 { .compatible = "renesas,riic-r9a09g057", .data = &riic_rz_v2h_info }, 699 - { /* Sentinel */ }, 698 + { .compatible = "renesas,riic-rz", .data = &riic_rz_a_info }, 699 + { /* Sentinel */ } 700 700 }; 701 701 702 702 static struct platform_driver riic_i2c_driver = {