From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chanwoo Choi Subject: Re: [rtc-linux] [PATCH v3] rtc: s5m: Add the support for S2MPS13 RTC Date: Tue, 24 Feb 2015 17:43:49 +0900 Message-ID: <54EC39C5.7010209@samsung.com> References: <1424758197-20057-1-git-send-email-cw00.choi@samsung.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Return-path: In-reply-to: Sender: linux-kernel-owner@vger.kernel.org To: Krzysztof Kozlowski Cc: rtc-linux@googlegroups.com, a.zummo@towertech.it, akpm@linux-foundation.org, inki.dae@samsung.com, linux-kernel@vger.kernel.org, linux-samsung-soc@vger.kernel.org List-Id: linux-samsung-soc@vger.kernel.org On 02/24/2015 05:21 PM, Krzysztof Kozlowski wrote: > 2015-02-24 7:09 GMT+01:00 Chanwoo Choi : >> This patch adds only the compatible string for S2MPS13 clock which is identical >> with S2MPS14 clock driver. > > If everything is identical then maybe use the same ID? > { "s5m-rtc", S5M8767X }, > + { "s2mps13-rtc", S2MPS14X }, > { "s2mps14-rtc", S2MPS14X }, > > Or in mfd/sec-core: > static const struct mfd_cell s2mps13_devs[] = { > - { .name = "s2mps13-rtc", }, > + { .name = "s2mps14-rtc", }, > > The duplication of all S2MPS14 labels seems not necessary in such case. OK, I agree, I'll send patch according to your comment. Thanks, Chanwoo Choi