Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755143AbdFXUCV (ORCPT ); Sat, 24 Jun 2017 16:02:21 -0400 Received: from mail.kernel.org ([198.145.29.99]:33494 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754804AbdFXUCU (ORCPT ); Sat, 24 Jun 2017 16:02:20 -0400 DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 619E822B64 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=jic23@kernel.org Date: Sat, 24 Jun 2017 21:02:13 +0100 From: Jonathan Cameron To: Zhiyong Tao Cc: , , , , , , , , , , , , , , Subject: Re: [PATCH 3/3] iio: adc: mt7622: Add compatible node for mt7622. Message-ID: <20170624210213.5e552e5c@kernel.org> In-Reply-To: <1498110274-18678-4-git-send-email-zhiyong.tao@mediatek.com> References: <1498110274-18678-1-git-send-email-zhiyong.tao@mediatek.com> <1498110274-18678-4-git-send-email-zhiyong.tao@mediatek.com> X-Mailer: Claws Mail 3.15.0-dirty (GTK+ 2.24.31; x86_64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 958 Lines: 27 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 > { } > }; > MODULE_DEVICE_TABLE(of, mt6577_auxadc_of_match);