]> git.dujemihanovic.xyz Git - linux.git/commitdiff
mfd: tc3589x: Drop vendorless compatible string from match table
authorRob Herring (Arm) <robh@kernel.org>
Mon, 26 Aug 2024 19:13:00 +0000 (14:13 -0500)
committerLee Jones <lee@kernel.org>
Mon, 23 Sep 2024 15:20:54 +0000 (16:20 +0100)
There's no need to list "tc3589x" in the DT match table. The I2C core
will strip any vendor prefix and match against the i2c_device_id table
which has an "tc3589x" entry.

Probably "tc3589x" and TC3589X_UNKNOWN could be removed altogether.
Use of that compatible was only on some STE platforms and was dropped
in 2013. There were ABI breaks in 2014 claiming no DTs in the wild. See
commit 1637d480f873 ("pinctrl: nomadik: force-convert to generic config
bindings").

Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
Link: https://lore.kernel.org/r/20240826191300.1410222-1-robh@kernel.org
Signed-off-by: Lee Jones <lee@kernel.org>
drivers/mfd/tc3589x.c

index db28eb0c8995f28a3e48aaa331c6e93c74c83d20..ef953ee73145364d6acb996323242f4d2eac5041 100644 (file)
@@ -312,8 +312,6 @@ static int tc3589x_device_init(struct tc3589x *tc3589x)
 }
 
 static const struct of_device_id tc3589x_match[] = {
-       /* Legacy compatible string */
-       { .compatible = "tc3589x", .data = (void *) TC3589X_UNKNOWN },
        { .compatible = "toshiba,tc35890", .data = (void *) TC3589X_TC35890 },
        { .compatible = "toshiba,tc35892", .data = (void *) TC3589X_TC35892 },
        { .compatible = "toshiba,tc35893", .data = (void *) TC3589X_TC35893 },