From mboxrd@z Thu Jan 1 00:00:00 1970
Return-Path:
Received: from metis.ext.pengutronix.de (unknown
[IPv6:2001:6f8:1178:4:290:27ff:fe1d:cc33])
(using TLSv1 with cipher AES256-SHA (256/256 bits))
(No client certificate requested)
by lists.ozlabs.org (Postfix) with ESMTPS id 26B9C1A0707
for ; Mon, 8 Sep 2014 19:19:45 +1000 (EST)
From: Philipp Zabel
To: devicetree@vger.kernel.org
Subject: [PATCH v2 5/5] rtc: rtc-isl12057: Change vendor prefix for Intersil
Corporation to isil
Date: Mon, 8 Sep 2014 11:19:20 +0200
Message-Id: <1410167960-554-6-git-send-email-p.zabel@pengutronix.de>
In-Reply-To: <1410167960-554-1-git-send-email-p.zabel@pengutronix.de>
References: <1410167960-554-1-git-send-email-p.zabel@pengutronix.de>
Cc: Mark Rutland ,
Alessandro Zummo , Russell King ,
Pawel Moll , Ian Campbell ,
Mark Brown , Wolfram Sang ,
Rob Herring , Paul Mackerras ,
Philipp Zabel , Kumar Gala ,
linuxppc-dev@lists.ozlabs.org, linux-arm-kernel@lists.infradead.org
List-Id: Linux on PowerPC Developers Mail List
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Currently there is a wild mixture of isl, isil, and intersil compatibles
in the kernel. At this point, changing the vendor symbol to the most often
used variant, which is equal to the NASDAQ symbol, isil, should not hurt.
Patch 70e123373c05 (rtc: Add support for Intersil ISL12057 I2C RTC chip)
added this driver with device tree support using the then documented isl
vendor prefix, so we keep that around for backwards compatibility.
Signed-off-by: Philipp Zabel
---
drivers/rtc/rtc-isl12057.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/rtc/rtc-isl12057.c b/drivers/rtc/rtc-isl12057.c
index 455b601..8276bd6 100644
--- a/drivers/rtc/rtc-isl12057.c
+++ b/drivers/rtc/rtc-isl12057.c
@@ -279,7 +279,8 @@ static int isl12057_probe(struct i2c_client *client,
#ifdef CONFIG_OF
static const struct of_device_id isl12057_dt_match[] = {
- { .compatible = "isl,isl12057" },
+ { .compatible = "isil,isl12057" },
+ { .compatible = "isl,isl12057" }, /* for backwards compatibility */
{ },
};
#endif
--
2.1.0.rc1