Skip to content

Commit 04bb180

Browse files
robherringlag-linaro
authored andcommitted
mfd: tc3589x: Drop vendorless compatible string from match table
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 1637d48 ("pinctrl: nomadik: force-convert to generic config bindings"). Signed-off-by: Rob Herring (Arm) <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Lee Jones <[email protected]>
1 parent 015d188 commit 04bb180

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

drivers/mfd/tc3589x.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -312,8 +312,6 @@ static int tc3589x_device_init(struct tc3589x *tc3589x)
312312
}
313313

314314
static const struct of_device_id tc3589x_match[] = {
315-
/* Legacy compatible string */
316-
{ .compatible = "tc3589x", .data = (void *) TC3589X_UNKNOWN },
317315
{ .compatible = "toshiba,tc35890", .data = (void *) TC3589X_TC35890 },
318316
{ .compatible = "toshiba,tc35892", .data = (void *) TC3589X_TC35892 },
319317
{ .compatible = "toshiba,tc35893", .data = (void *) TC3589X_TC35893 },

0 commit comments

Comments
 (0)