Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1765425imu; Sat, 26 Jan 2019 10:09:37 -0800 (PST) X-Google-Smtp-Source: ALg8bN5tX8ROqN6cPMJk24nwex0ej6FkUxp/cRKTTO1Frhyn1Y4ze/Vd/s6UleOB/t7hB+RRMSbQ X-Received: by 2002:a17:902:b592:: with SMTP id a18mr15835609pls.293.1548526177716; Sat, 26 Jan 2019 10:09:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548526177; cv=none; d=google.com; s=arc-20160816; b=W3MISCWWAi72DSyvul5GZF5rYd58rLsATk/I+ZOhgdD2xAdNHFy/nHn27UnKvlzoHW RnJALhhdCQfdD2tpdbKxauTAgIKlX2FsUVlStpkIm82Hkd1AMLoUe0mkaBHoEOKqlWrT NKwbTmeQ9bcMR3CDk1sQQ9P1AokbzcfoeayeDRgWGAAL6odAH4IcF2EZSgMTxLrLDkQJ +kw2QU27KQSGpPQc3sWUXUaJV2gUou1Vh4tvgkRfTuZ3Bxljp4ekl1vWm9QwhO16RtwR 3DZ6jiqJ+KxnKK8bCqfkaYeE64SFLDLAtM138B5sw4JWTyL26BF0rNyqIWAg0/a+1rAq Il1g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=45muU+ZXtwVE+r8oDBSaC0aiRbu0kE9+oB5C8hMZcFQ=; b=GjkWof8DMOy5oXi63xT+ecyvfLA2CfJwS/BRzw1CxkkNJWdHoPGtk7x1LMuzhQd85X 6/aktnhZgHRCt6NhiYX/7ByxBA42YnxCUkvry/lDJnkwUd69Hnq91Ma7/ow3+sysnHV8 iQhmHTOAqknD5bXenX6I3f0uAV6LCqg1NTrwJTnSHilqY/EknCiZTXeQHMlVoihDuK9D 91zvP9bketh3crpZfhyg5tmzOm/kALXkV0pRvlC7cGzA+oxL48mzzYfZd89Vy7/cAESl 1HwIhLta5599S47l76KdP6gxHVpmAsaQrzH6nzv0Lr7A148ni+v8XVcKUZUz16sjMRBH Z6Ag== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=YlCBCLJc; 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=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d69si13791034pga.184.2019.01.26.10.09.20; Sat, 26 Jan 2019 10:09:37 -0800 (PST) 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=@kernel.org header.s=default header.b=YlCBCLJc; 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=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726180AbfAZSJQ (ORCPT + 99 others); Sat, 26 Jan 2019 13:09:16 -0500 Received: from mail.kernel.org ([198.145.29.99]:35520 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726073AbfAZSJQ (ORCPT ); Sat, 26 Jan 2019 13:09:16 -0500 Received: from archlinux (cpc91196-cmbg18-2-0-cust659.5-4.cable.virginm.net [81.96.234.148]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id B36AA218A6; Sat, 26 Jan 2019 18:09:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1548526155; bh=rHuzDfPwjtqRyLzcYTXQWvdEoTAwNRFWp4WH2OxOSKg=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=YlCBCLJc1qeT8tkDvuqw9wJsN+NKNzdke9ThA8+Dv4fuF/AcLZtbDImI+SgBAuckm tBWqcKt+FZlkjIvoFqhVAnpYnCSabAJckdp1bMdAPqAyl/o7AMAoVa8XznGEYOr+WN Sf/GMvzYnzXSzT/Jmy9GIZeUb9QjARbWOXOS1i2E= Date: Sat, 26 Jan 2019 18:09:09 +0000 From: Jonathan Cameron To: Alexandru Ardelean Cc: Rodrigo Ribeiro , lars@metafoo.de, Michael.Hennerich@analog.com, knaack.h@gmx.de, Peter Meerwald-Stadler , gregkh@linuxfoundation.org, linux-iio@vger.kernel.org, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, kernel-usp@googlegroups.com, Rafael Tsuha Subject: Re: [PATCH] staging:iio:ad7152: Rename misspelled RESEVERD -> RESERVED Message-ID: <20190126180909.38380f05@archlinux> In-Reply-To: References: <1548358316-8062-1-git-send-email-rodrigorsdc@gmail.com> X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 25 Jan 2019 10:19:54 +0200 Alexandru Ardelean wrote: > On Thu, Jan 24, 2019 at 9:35 PM Rodrigo Ribeiro wrote: > > > > Remove the checkpatch.pl check: > > > > CHECK: 'RESEVERD' may be misspelled - perhaps 'RESERVED'? > > Hey, > > A bit curios about this one. > Are you using this chip/driver ? > > Thing is: the part is nearing EOL, and it could be an idea to be > marked for removal (since it's still in staging). > But if there are users for this driver, it could be left around for a while. While it might be going away soon, I'm also not that bothered about the small amount of churn that a tidy up patch like this causes, and it might not go away ;) However it is rather odd to have a 'reserved' entry for a register. can't see that providing any useful information. Normally I'm happy to have complete register sets as a form of documentation if the author wants to do it that way. This however seems silly. Alex, we haven't really gone with marking things as 'going away' before. I'd suggest we take a guess and remove it if you and the team an analog don't think it's in use. Happy to get a patch for that if you want to send one. Of course, Rodrigo could do that patch to get started if that works for everyone? :) Jonathan > > Thanks > Alex > > > > > Signed-off-by: Rodrigo Ribeiro > > Signed-off-by: Rafael Tsuha > > --- > > This macro is not used anywhere. Should we just correct the > > spelling or remove the macro? > > > > drivers/staging/iio/cdc/ad7152.c | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/drivers/staging/iio/cdc/ad7152.c b/drivers/staging/iio/cdc/ad7152.c > > index 25f51db..c9da6d4 100644 > > --- a/drivers/staging/iio/cdc/ad7152.c > > +++ b/drivers/staging/iio/cdc/ad7152.c > > @@ -35,7 +35,7 @@ > > #define AD7152_REG_CH2_GAIN_HIGH 12 > > #define AD7152_REG_CH2_SETUP 14 > > #define AD7152_REG_CFG 15 > > -#define AD7152_REG_RESEVERD 16 > > +#define AD7152_REG_RESERVED 16 > > #define AD7152_REG_CAPDAC_POS 17 > > #define AD7152_REG_CAPDAC_NEG 18 > > #define AD7152_REG_CFG2 26 > > -- > > 2.7.4 > >