Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3168627imu; Sun, 27 Jan 2019 23:24:28 -0800 (PST) X-Google-Smtp-Source: ALg8bN7xMrb3ymCTL9NXz1sm3JG2fNAD7cATiZ8XWtTJkWerFv0XNmGFi2cc2Qveel9O74qH42bf X-Received: by 2002:a62:a209:: with SMTP id m9mr21214782pff.218.1548660268671; Sun, 27 Jan 2019 23:24:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548660268; cv=none; d=google.com; s=arc-20160816; b=jTOEcYNJR1jCF3rONmIkk1EdxsHpeMq08dSYowQrHZtLuoHgXZ0VJTMeenj3nnzBQv QUorNZHsUNaUzEZ8N5+k60WOvHSTtR5Vl7QHQF/LB4Am29p7BcAeWekzObDpLTFPWk3I vX6D3czWq7DaCn55f5n9ULCQsrjMe+4qvrwhofj/gaRCg3SBrqboTC2tHe0JzqS1M7Jq OZdFVdbXhKrLuwyv7rdwrg2yYISNatF0RlG0lX/I7yKmfswbvISRdmQ9m74MwXPeWNiJ lsNLCeL9RG9g27IOUUD2cZ4Og1XfpdtnUiTnHhwhZPfRXS+0DDTvvSligHQJMmY1TcKj xDvA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=PpKSzmaRDODSwUyXeKk+KgJ41/j+0HcFQypPO2rAs+Q=; b=0OqrEmm4HHoK22cU4uiXbyiymSIMraukfmODfxxVohE6unz2Ntq9U+5MeLrcdX+nJK tk1EiYIKc5k5E6Ph5P2Ui8NGd2nCmqQE+2vhCIzUvRu4ZcydWsRuF1cJV2SLFNeb1EUZ TaVGrsuCE/nCGwh3NyLKaNWN/UXSYAskBbRn6jaNMZTwZLlyf1Jf0fZw8dtjKn3Q9+Mq pIkjNrOYwbqXoL2inEQA+Xw4WLdOSirHbzczkJ9O4pjUPQJD98ihOVI4liwZaY+wNRaL P4mfdWi5OiJNNCcsgxP2EHlIM9BV/c304fppyxSV3+Xd5SHmZCpjZavez4gXXkW77gLj TeWA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=OshT1GdS; 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 u9si28463366plk.61.2019.01.27.23.24.13; Sun, 27 Jan 2019 23:24:28 -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=@gmail.com header.s=20161025 header.b=OshT1GdS; 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 S1726689AbfA1HXz (ORCPT + 99 others); Mon, 28 Jan 2019 02:23:55 -0500 Received: from mail-ot1-f68.google.com ([209.85.210.68]:34387 "EHLO mail-ot1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726647AbfA1HXy (ORCPT ); Mon, 28 Jan 2019 02:23:54 -0500 Received: by mail-ot1-f68.google.com with SMTP id t5so13842444otk.1; Sun, 27 Jan 2019 23:23:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=PpKSzmaRDODSwUyXeKk+KgJ41/j+0HcFQypPO2rAs+Q=; b=OshT1GdSwOflU25jR1S7/3xOtf7JR3ZxE2II8swufQF+Jtt7qtLkNbWpc2epL8Koyu 00WWFMOiNvxyZjUqYu/0E7T8EBKaQ3z9pxXJSuGnbrxwsJFB/ioOA2Eq1kxHpGsTr7E+ ZDpLE9DMrEJmff2KB696Y8mPx0rARM+IQFuj72ttpUg/dm2Qp3L1eg4FhjeG6//cQANZ mDGHggfQRGAkFFIWEHd0PEunDF518COsFHcGQCfI92ja/aQIcRZbgwBZ3F/upDeczLJZ UbpAG1j6PE2rMWpZjzbD1qhmxyha/jXwVh8KJIPGzR9OURciY5IEUhbUBqERFKj2UXRG QrHA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=PpKSzmaRDODSwUyXeKk+KgJ41/j+0HcFQypPO2rAs+Q=; b=PhAZNInB0KlfQ4b5UVy/10Lj7vFTa8vZk5T7bg9bHTnPPKdCG8YCZMgI6xRgKxJ6Lb 4RRST2SH8HLp8HvvvI/hnHttULoZlr2owfv1PKQQBlXN3cN9RcrNs5OHgAv7mdEsSlE8 TdkmEh2wd2ezvLPnId8PjrpL4YbtCk7gG8RkgR08FWaFeUAqa4np9zYjdf8/cAJP/Z2Q lgBTgkgMXPnLBRwBOPnjRzYJTY7m3U40aP2oPB2e7JimA1DoUGqBAg3hJ/OjaIbkGbHC qsCgEL+gKqlFFgnGU4HEXoV7YxSwHlM54s8Ci+DneWkPRr9hxvKaouOtVyth8CMzo5Jl VXLw== X-Gm-Message-State: AJcUukdExuTd6m46ommPPT9c1cJn8SyvL3QavUdfnECRgp4E7K8M9PD5 e3NOEqEdhafEyyfIULoJnHvDSARog1CYCUxbAbY= X-Received: by 2002:a9d:6d95:: with SMTP id x21mr14470233otp.99.1548660233519; Sun, 27 Jan 2019 23:23:53 -0800 (PST) MIME-Version: 1.0 References: <1548358316-8062-1-git-send-email-rodrigorsdc@gmail.com> <20190126180909.38380f05@archlinux> In-Reply-To: <20190126180909.38380f05@archlinux> From: Alexandru Ardelean Date: Mon, 28 Jan 2019 09:23:41 +0200 Message-ID: Subject: Re: [PATCH] staging:iio:ad7152: Rename misspelled RESEVERD -> RESERVED To: Jonathan Cameron 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 , alexandru.ardelean@analog.com Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Jan 26, 2019 at 8:09 PM Jonathan Cameron wrote: > > 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? :) > We'll also start a discussion about this particular driver internally. And maybe a procedure for removing drivers that become obsolete [or come close to it]. We also don't/didn't have one for removing "going away" drivers; I just remembered that we took a look over this one and decided not to invest time into it as it's close to being obsolete. Thanks Alex > 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 > > > >