Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751819AbdFZBzu (ORCPT ); Sun, 25 Jun 2017 21:55:50 -0400 Received: from mailgw01.mediatek.com ([218.249.47.110]:59054 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1751521AbdFZBzr (ORCPT ); Sun, 25 Jun 2017 21:55:47 -0400 Message-ID: <1498442139.536.4.camel@mhfsdcap03> Subject: Re: [PATCH 3/3] iio: adc: mt7622: Add compatible node for mt7622. From: zhiyong tao To: Jonathan Cameron CC: , , , , , , , , , , , , , , Date: Mon, 26 Jun 2017 09:55:39 +0800 In-Reply-To: <20170624210213.5e552e5c@kernel.org> References: <1498110274-18678-1-git-send-email-zhiyong.tao@mediatek.com> <1498110274-18678-4-git-send-email-zhiyong.tao@mediatek.com> <20170624210213.5e552e5c@kernel.org> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.2.3-0ubuntu6 Content-Transfer-Encoding: 7bit MIME-Version: 1.0 X-MTK: N Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1144 Lines: 34 On Sat, 2017-06-24 at 21:02 +0100, Jonathan Cameron wrote: > On Thu, 22 Jun 2017 13:44:34 +0800 > Zhiyong Tao wrote: > > > This commit adds mt7622 compatible node. > > > > Signed-off-by: Zhiyong Tao > > --- > > drivers/iio/adc/mt6577_auxadc.c | 1 + > > 1 file changed, 1 insertion(+) > > > > diff --git a/drivers/iio/adc/mt6577_auxadc.c b/drivers/iio/adc/mt6577_auxadc.c > > index 2dd7c74..4a2cd9e 100644 > > --- a/drivers/iio/adc/mt6577_auxadc.c > > +++ b/drivers/iio/adc/mt6577_auxadc.c > > @@ -308,6 +308,7 @@ static int mt6577_auxadc_remove(struct platform_device *pdev) > > static const struct of_device_id mt6577_auxadc_of_match[] = { > > { .compatible = "mediatek,mt2701-auxadc", }, > > { .compatible = "mediatek,mt8173-auxadc", }, > > + { .compatible = "mediatek,mt7622-auxadc", }, > Keep them in numeric order perhaps? > > Might become a worthwhile step if this logic gets used for lot more parts in future! > > Jonathan ==>Ok, we will change them in numeric order perhaps in v2. Thanks. > > { } > > }; > > MODULE_DEVICE_TABLE(of, mt6577_auxadc_of_match); >