Skip to content

Commit 832b2f3

Browse files
prabhakarladAndi Shyti
authored andcommitted
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 <[email protected]> Reviewed-by: Wolfram Sang <[email protected]> Tested-by: Wolfram Sang <[email protected]> # on RZ/A1 Reviewed-by: Geert Uytterhoeven <[email protected]> Reviewed-by: Andy Shevchenko <[email protected]> Signed-off-by: Andi Shyti <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent 11db6a5 commit 832b2f3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/i2c/busses/i2c-riic.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -693,10 +693,10 @@ static const struct dev_pm_ops riic_i2c_pm_ops = {
693693
};
694694

695695
static const struct of_device_id riic_i2c_dt_ids[] = {
696-
{ .compatible = "renesas,riic-rz", .data = &riic_rz_a_info },
697696
{ .compatible = "renesas,riic-r7s72100", .data = &riic_rz_a1h_info, },
698697
{ .compatible = "renesas,riic-r9a09g057", .data = &riic_rz_v2h_info },
699-
{ /* Sentinel */ },
698+
{ .compatible = "renesas,riic-rz", .data = &riic_rz_a_info },
699+
{ /* Sentinel */ }
700700
};
701701

702702
static struct platform_driver riic_i2c_driver = {

0 commit comments

Comments
 (0)