Skip to content

Commit da1531e

Browse files
robherringalexandrebelloni
authored andcommitted
rtc: s35390a: Drop vendorless compatible string from match table
There's no need to list "s35390a" in the DT match table. The I2C core will strip any vendor prefix and match against the i2c_device_id table which has an "s35390a" entry. Signed-off-by: Rob Herring (Arm) <robh@kernel.org> Link: https://lore.kernel.org/r/20240826191321.1410668-1-robh@kernel.org Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
1 parent 2d611fb commit da1531e

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

drivers/rtc/rtc-s35390a.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@ static const struct i2c_device_id s35390a_id[] = {
5656
MODULE_DEVICE_TABLE(i2c, s35390a_id);
5757

5858
static const __maybe_unused struct of_device_id s35390a_of_match[] = {
59-
{ .compatible = "s35390a" },
6059
{ .compatible = "sii,s35390a" },
6160
{ }
6261
};

0 commit comments

Comments
 (0)