Received: by 2002:ac0:98c7:0:0:0:0:0 with SMTP id g7-v6csp989999imd; Thu, 1 Nov 2018 08:36:24 -0700 (PDT) X-Google-Smtp-Source: AJdET5dzYyxIh6850MPVjviROWfxxqJAeopWXbY8JYJovdW4NPAfLVjxyZZZAkmKDdUglKjarMJk X-Received: by 2002:a62:388b:: with SMTP id f133-v6mr8246302pfa.48.1541086584181; Thu, 01 Nov 2018 08:36:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1541086584; cv=none; d=google.com; s=arc-20160816; b=rhnHQZ4ORWsiWnx3fgTN/oMnzttQ/rDUSF01/CmaNVN1+9tsk/NXv5AfSfREBn+jzz nWMp/2gO0GZfCGay0w5sTpGCzgCs/+OnQVVhOZP8eRdFAjqNT+yjdcQlmnKuayCFCkXF D27G85sr2Eyf0Wc072plIn6CU9VrANjOZuVNxBXzWQQ7Oee7iJHnQ62z0+7dMXg2XmCj dPDD5MZQp0meNPhytWwbNY641Fx0wP2JuPl4BrAjo8dkxtczfPPLf3KAxSjLAst/bDFR 2Sq/VYakwzc5gQQ2t14aTojjSEnZG1DrID/jHSmMYTMkkEvG25HlDDr7GzXnLPjqHLPZ /QMg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=sAw/2bmGu8nzKFtS58H47jESWAgkHs7jtwqldvIMr9U=; b=kae+KxCyVRDEVdyN43S2Te8f3m2XxVT4lEuvsZrh40FHpTFlGdhWIVB5OgXcWmHK4s 9la6JvhvRzECBjwugJiXFTrelASO1ZYoB9gT7sjR9twi99do7r2KFH+hxnTde5pLERZl cOKugH5lzQMFiiOYr+smhUM8GjXPd+VgAixmLkpg5dSqWW5rQLFMbb6BPxC5BHDWVJvi Ew5YVq9pt+f15zLqESo43VGwZ/Tz4S0fkQDNZ6lL6658cwns+3Pgus2veVZyq4zVJaOl s7HE+vFLT2rmlotHmatEHJBxjIAVbs+XOZnLpn7kqrr3xAdnIMhtDR0MyrCOlYcvFhT0 0gKQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=ux4vf6P7; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q10-v6si30738129pgk.392.2018.11.01.08.36.09; Thu, 01 Nov 2018 08:36:24 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=ux4vf6P7; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728897AbeKBAiq (ORCPT + 99 others); Thu, 1 Nov 2018 20:38:46 -0400 Received: from mail-pf1-f196.google.com ([209.85.210.196]:46078 "EHLO mail-pf1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727996AbeKBAiq (ORCPT ); Thu, 1 Nov 2018 20:38:46 -0400 Received: by mail-pf1-f196.google.com with SMTP id v5-v6so4606167pfm.12; Thu, 01 Nov 2018 08:35:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=sAw/2bmGu8nzKFtS58H47jESWAgkHs7jtwqldvIMr9U=; b=ux4vf6P7ylNuSRDE1KaZ3gvHa1m5BXfEOcjjwHtL+OHP5eobH4oAxywGG7cN6YupSp kKDu4KopN22T22O5wAxqCkXe1wlSJkajYMxuhr9CHysF0WELPO+zO6PSVEq/Soenvofr OZA0ENV1NlGIl1FjIrwhUXeAM7KlCa/2jpQsKZos8+Azk5DQnpo1CBznVb0QbeX9Nl1e LXl9f9ksxgB5Sd9yfBnXtaQF+qqFP9CFKCCbnET3kyYtlqk1i2zbw2ZnzgunJqFbos7Q LZigNziCYdgyTHYZfjVZ+BJBLtDORZmsgMgQ58OGYveo3rxIdgz0ZHZ6mdAjdG5FQdeO FKiQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=sAw/2bmGu8nzKFtS58H47jESWAgkHs7jtwqldvIMr9U=; b=T92215thosjY4y7JEOwgMxALqku66lciGtLDn8Ww+YJSSz4xXtWouS8IDf8IVV2ivJ cBglSpVLL8aAxH0vXYwEGmCUuF2mMXaFmymiKimJ3A4Di5pB8AUqv9wCaHbJdWHOvf0H 5ILXh5ssay8Xudmzk1P8BFxO/pOTGJ3zVW6of4CWDAbAmuvuaDArAR3E/oiQgI9eWiB+ v6cY3d88nMHJ6xIEIYwbxhwQVvYysiS+lZjnY0SIjDpnv/U74dtZo2UFxL5EIqJDeRIo 1pg2PkB4M/J73mvN3y0NgtGmXAPLF/HHJBpuT77a0YwOVNq5fSNVRwJjh6J7g5fUKhWJ 674w== X-Gm-Message-State: AGRZ1gKBGRRyUPHXPV1CsgYAW/exEQ5G0drCDEN9fbRQrli0UShyJh7D YtGblUW/CG3v1SRIUc06FGI= X-Received: by 2002:a62:9015:: with SMTP id a21-v6mr8211055pfe.49.1541086517810; Thu, 01 Nov 2018 08:35:17 -0700 (PDT) Received: from himanshu-Vostro-3559 ([103.233.116.134]) by smtp.gmail.com with ESMTPSA id g7-v6sm15908362pfo.139.2018.11.01.08.35.13 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 01 Nov 2018 08:35:17 -0700 (PDT) Date: Thu, 1 Nov 2018 21:05:09 +0530 From: Himanshu Jha To: Nishad Kamdar Cc: Jonathan Cameron , Slawomir Stepien , Lars-Peter Clausen , Michael Hennerich , Hartmut Knaack , Peter Meerwald-Stadler , Greg Kroah-Hartman , linux-iio@vger.kernel.org, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v7 3/3] staging: iio: ad2s1210: Add device tree table. Message-ID: <20181101153508.GA5176@himanshu-Vostro-3559> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Oct 31, 2018 at 09:30:36PM +0530, Nishad Kamdar wrote: > Add device tree table for matching vendor ID. > > Signed-off-by: Nishad Kamdar > --- > drivers/staging/iio/resolver/ad2s1210.c | 7 +++++++ > 1 file changed, 7 insertions(+) > > diff --git a/drivers/staging/iio/resolver/ad2s1210.c b/drivers/staging/iio/resolver/ad2s1210.c > index d3e7d5aad2c8..7c50def91a2b 100644 > --- a/drivers/staging/iio/resolver/ad2s1210.c > +++ b/drivers/staging/iio/resolver/ad2s1210.c > @@ -701,6 +701,12 @@ static int ad2s1210_remove(struct spi_device *spi) > return 0; > } > > +static const struct of_device_id ad2s1210_of_match[] = { > + { .compatible = "adi,ad2s1210", }, > + { } > +}; > +MODULE_DEVICE_TABLE(of, ad2s1210_of_match); I believe this needs to be documented at: Documentation/devicetree/bindings/iio/resolver/ad2s1210.txt Cc'ed to devictree list + Rob(DT Maintainer). Just wondering why didn't it came up till now from the IIO reviewers ? v7!! -- Himanshu Jha Undergraduate Student Department of Electronics & Communication Guru Tegh Bahadur Institute of Technology