summaryrefslogtreecommitdiffstats
path: root/drivers/rtc
diff options
context:
space:
mode:
authorRob Herring (Arm) <robh@kernel.org>2024-08-26 14:13:20 -0500
committerAlexandre Belloni <alexandre.belloni@bootlin.com>2024-09-12 00:15:49 +0200
commitda1531ecf18612572c53878d5ef8e94673bf86ce (patch)
tree0c5c4bcbdaf76c70262e34a89b639a5a205a5902 /drivers/rtc
parent2d611fbe9a85971a38fe93a29512bd241e4d7035 (diff)
downloadlinux-stable-da1531ecf18612572c53878d5ef8e94673bf86ce.tar.gz
linux-stable-da1531ecf18612572c53878d5ef8e94673bf86ce.tar.bz2
linux-stable-da1531ecf18612572c53878d5ef8e94673bf86ce.zip
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>
Diffstat (limited to 'drivers/rtc')
-rw-r--r--drivers/rtc/rtc-s35390a.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/rtc/rtc-s35390a.c b/drivers/rtc/rtc-s35390a.c
index 2d6b655a4b25..e3dc18882f41 100644
--- a/drivers/rtc/rtc-s35390a.c
+++ b/drivers/rtc/rtc-s35390a.c
@@ -56,7 +56,6 @@ static const struct i2c_device_id s35390a_id[] = {
MODULE_DEVICE_TABLE(i2c, s35390a_id);
static const __maybe_unused struct of_device_id s35390a_of_match[] = {
- { .compatible = "s35390a" },
{ .compatible = "sii,s35390a" },
{ }
};