]> Gentwo Git Trees - linux/.git/commitdiff
mfd: simple-mfd-i2c: Make ID table style consistent
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 11 Nov 2025 11:18:35 +0000 (12:18 +0100)
committerLee Jones <lee@kernel.org>
Wed, 19 Nov 2025 16:05:07 +0000 (16:05 +0000)
The lines in the OF ID table are written in three different styles.
Choose the most common in the kernel and update accordingly.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://patch.msgid.link/20251111111930.796837-2-andriy.shevchenko@linux.intel.com
Signed-off-by: Lee Jones <lee@kernel.org>
drivers/mfd/simple-mfd-i2c.c

index 0a607a1e3ca1de767fae207912c12f5e4f798ddc..5fd0ef3fa44a42bc49a5394258a6818eb9b4e79a 100644 (file)
@@ -114,11 +114,11 @@ static const struct of_device_id simple_mfd_i2c_of_match[] = {
        { .compatible = "fsl,lx2160aqds-fpga" },
        { .compatible = "fsl,lx2160ardb-fpga" },
        { .compatible = "kontron,sl28cpld" },
-       { .compatible = "maxim,max5970", .data = &maxim_max5970},
-       { .compatible = "maxim,max5978", .data = &maxim_max5970},
-       { .compatible = "maxim,max77705-battery", .data = &maxim_mon_max77705},
-       { .compatible = "silergy,sy7636a", .data = &silergy_sy7636a},
-       { .compatible = "spacemit,p1", .data = &spacemit_p1, },
+       { .compatible = "maxim,max5970", .data = &maxim_max5970 },
+       { .compatible = "maxim,max5978", .data = &maxim_max5970 },
+       { .compatible = "maxim,max77705-battery", .data = &maxim_mon_max77705 },
+       { .compatible = "silergy,sy7636a", .data = &silergy_sy7636a },
+       { .compatible = "spacemit,p1", .data = &spacemit_p1 },
        {}
 };
 MODULE_DEVICE_TABLE(of, simple_mfd_i2c_of_match);