Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp4430854imu; Tue, 29 Jan 2019 01:11:03 -0800 (PST) X-Google-Smtp-Source: ALg8bN5y+xNSf4kAGc93z4wzYBWRVnZVVUxA3gVVzcrETkTl9+p+7C+wV6OPwBO4s9BOdN3PPnSE X-Received: by 2002:a63:1904:: with SMTP id z4mr22411458pgl.135.1548753063834; Tue, 29 Jan 2019 01:11:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548753063; cv=none; d=google.com; s=arc-20160816; b=nF5CNfnEZAPPyuEbUYhGnagJk93JZ+ZrUBgHPHr+C1/z3EMxvK3PfawT99OYaknbTx vU3eYqPB0ZTTXYpcggHfZwG0qc26P5vj+P+lb+TM1GVwIcHmhE6rUj3v2hS4mLEI4zWS s9L9gVAEvv4UxQkO988Pxh37IdfYo1GAoYgXbZArLVYWWgw5FMOHwvygAGZJJMZ3qhGe 5nC5UxEki0tkDuLTyui1T52R6/pxrS70m5tCgUGbmP8aBreEfiKXGabdp5h058MEU/X7 cyQWBnyCxRX/2+o7/WC6tQhexRGV3cMW761WRpFozh6rJJhjQEc2YozWmKiRznVbYc+f A+7Q== 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:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=Y+gbl4XAbjxC+xEtAEEdUUUi3y94Kpx9B6/DnGdEXio=; b=s0Nmkxm4L82oRnvVkcc0jJuyPlaYP9eO1uKo5VziwiG0iy3n0tRbbFu21teGXVPokn 2BSdRCPQgza+u7wLdE6GyOdXYP4T8tIOZlGEuz56XfZExa9bRttplki+ScNNaIjCp86+ YaJPlQl7DJNVpH+xMELhI6L82MqsSxR6PALrvgeYsmJOXB/iv2C5P5tbu3UDREUHpIgV jYX3B1u3fdOfE8g9IYzGtJu4/iVNWGw/CUu4GL9mpLAQ2L68LFv+rXEMPSwXeYTzVtrM lUNuXkMazttQc6FSjMRuee7HZkRWL9yn4InUhb2L0pAA4WDYKWIxmhssXJDhcgFDHu9U +jSA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=ahW0WsR2; 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 d14si32779079pgn.390.2019.01.29.01.10.47; Tue, 29 Jan 2019 01:11:03 -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=ahW0WsR2; 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 S1727910AbfA2JK0 (ORCPT + 99 others); Tue, 29 Jan 2019 04:10:26 -0500 Received: from mail-ot1-f66.google.com ([209.85.210.66]:34751 "EHLO mail-ot1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725846AbfA2JK0 (ORCPT ); Tue, 29 Jan 2019 04:10:26 -0500 Received: by mail-ot1-f66.google.com with SMTP id t5so17277937otk.1; Tue, 29 Jan 2019 01:10:25 -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:content-transfer-encoding; bh=Y+gbl4XAbjxC+xEtAEEdUUUi3y94Kpx9B6/DnGdEXio=; b=ahW0WsR25FK3F6uzmrm0SDqmkB46FwyDWFkuVqPgJc/uhF8jF5mIgkM5JztTPgIond zt2Esr/05wFtGaqTBG6b2iaWBAGg+8M/I6ajG1raexEL720HXDL5Qfff17dzuDGNw1Wd il/12pkIUdmtEw5fmrJgZno38r4Waj76OALJBOvAcobm5faWQWA0w+jcncILKrohualc H+ByKhsR2SSIycD/r6Nsy29/QyylmC6BSFC+MHeQT7vf3qiNBf3xsdlRbzeiujZMJtMC ZtkUxTNnOneX6roP02FPjlbVhCReO3IAn+Si7H9EUD648wEANd2HK+iE6drDPwRFfStP 1VWw== 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:content-transfer-encoding; bh=Y+gbl4XAbjxC+xEtAEEdUUUi3y94Kpx9B6/DnGdEXio=; b=CiJ8ElK7/wW6NCOwXv3yM0dkmtGbN78l4dNHS8WwQhh0e1mWhNumR7fvQ3p9hIrqhD 7jdIASzGotAXuoYqxK0JGO+wJlP7u1uHl9/JaJKqgrxtZEAasgmrv7Mw6Uvu1grePodc LgvHQBxPLjace1kU8pCeHnLVt6d8sDD85hRraEY+9+Cpw5MGBpOYfaTdjGNcb2WD7xmF rMB4KUsUUv0wiHGuADI9pasSY5TOD+OgJoInvhnZi7DR0lt6QcKmE5RXrdX0GkMUKsSo oqxKTqffq/Ow2ZGSxB/0choPd8ozf8uYi/vUkZ7I0Ge4cUKYZ96k79ZdyP+UQolBZgbW 6/zA== X-Gm-Message-State: AJcUukeSkOT/8xdme4fe9ykz7qdhCXAuHJj3Mu+Z9YrAhGCJy38Ep/Xc AvICrO6RPw+hMwkc1ielS2F69kVQ9J81I/mwZ/U= X-Received: by 2002:a9d:7059:: with SMTP id x25mr19637398otj.35.1548753024905; Tue, 29 Jan 2019 01:10:24 -0800 (PST) MIME-Version: 1.0 References: <1548358316-8062-1-git-send-email-rodrigorsdc@gmail.com> <20190126181321.1439e485@archlinux> In-Reply-To: <20190126181321.1439e485@archlinux> From: Alexandru Ardelean Date: Tue, 29 Jan 2019 11:10:12 +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, LKML , kernel-usp@googlegroups.com, Rafael Tsuha , alexandru.ardelean@analog.com, stefan.popa@analog.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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:13 PM Jonathan Cameron wrote: > > On Fri, 25 Jan 2019 22:14:32 -0200 > Rodrigo Ribeiro wrote: > > > Em sex, 25 de jan de 2019 =C3=A0s 21:46, Rodrigo Ribeiro > > escreveu: > > > > > > Em sex, 25 de jan de 2019 =C3=A0s 06:20, Alexandru Ardelean > > > escreveu: > > > > > > > > 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, > > > > > > Hi, > > > > > > Thanks for answering. > > > > > > > A bit curios about this one. > > > > Are you using this chip/driver ? > > > > > > No, I am just a student at USP (University of S=C3=A3o Paulo) startin= g in Linux > > > Kernel and a new member of the USP Linux Kernel group that has contri= buted > > > for a few months. > > > > > > > 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. > > > > > > This is my first patch in Linux Kernel, but if the driver will be rem= oved, I > > > can send a patch for another driver. Is there any driver that I can > > > fix a style warning? > > > > Maybe, one checkstyle patch is enough, right? Which drivers can I truly > > contribute to? > > How about the ad7150? That one is still listed as production. > What do you think Alex, you probably have better visibility on the > status of these parts and their drivers than I do! > > (note I haven't even opened that one for a few years so no idea > what state the driver is in!) > ad7150 is a good alternative. At a first glance over the driver it looks like it could do with some polish/conversions to newer IIO constructs (like IIO triggers, maybe some newer event handling mechanisms?). I'll sync with Stefan [Popa] to see about this stuff at a later point in ti= me. I'd also add here the adxl345 driver. This is mostly informational for anyone who'd find this interesting. There are 2 drivers for this chip, one in IIO [drivers/iio/accel/adxl345] and another one in "drivers/misc/adxl34x.c" as part of the input sub-system. What would be interesting here is to finalize the IIO driver [ I think some features are lacking behind the input driver], and make the input driver a consumer of the IIO driver. From my side, both these variants are fine to take on. The ad7150 is a good idea as a starter project, and the adxl one is more of a long-term medium-level project. Thanks Alex > Jonathan > > > > > > Thanks > > > > > > > > > Em sex, 25 de jan de 2019 =C3=A0s 06:20, Alexandru Ardelean > > > escreveu: > > > > > > > > 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. > > > > > > > > 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/i= io/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 > > > > > >