From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.2 required=3.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id F3381C433B4 for ; Thu, 15 Apr 2021 15:15:33 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 89F9B61184 for ; Thu, 15 Apr 2021 15:15:33 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 89F9B61184 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References:Message-ID: Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=eG9yYUQ6MQDE6okVrpGvjhsF6XlmYxeurYyr4h4tPkg=; b=HGL+lW3RjpVQ6585Wklw6nEeh 3rFGy0G9emYJlAgnL06UVIkNydHF4fIZqN2Onn8I+xZDPb3bPyRCIVV6geWpDjtJpSGBwQ1luM4la TII51JaZKpp5SIIP8p8GRRtXogKaE9oADbRsmhJfSoGlTyl7aGw4mYa448vWsXX7nDyGdVqOIYpff Uw+31n0w6c5f2ZRTcUpK/68DFLWf4LBtIDK1uFF6qg/0PuDp4AJQMZ9DU3+pAEe9NRTjXsBojc5x9 GTZNNuGGtUhXBISMVk+g0pY2mjr9r7wv3ltLXS4mA1dASl/QGPCd9y1aO9RTsUHQZFTqwZC1uziZp f6YsKFF+w==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lX3gz-00GYl4-52; Thu, 15 Apr 2021 15:14:06 +0000 Received: from bombadil.infradead.org ([2607:7c80:54:e::133]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lX3gw-00GYkK-B7 for linux-arm-kernel@desiato.infradead.org; Thu, 15 Apr 2021 15:14:02 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=i0SWPsbZMrd0nebi+GVIlyiAWrh4CzfKyh+F53eCiJI=; b=KfavURfYqUvDTXdMtIHlP9IPgt zA47vigfioYeJtTxRHFZCWYpTnP5iMXVZWYOxonirBQ8Kn1ekES3r706KAooryfJLoMSUkSZavSVq hyMner6RDJFpTZFRHXAQIGVuyv7t/ESegddmT8z26aIQh1jv+WWnQcrfaUxVyNpIEma0tdeWRobBC B1PPTPRQ4iLpqnYspmnGVd3PmhKnlJtbhyfdNQjMuTtay+RrbxMXsbIZumshSWjD/8I5gL5PhoJpb AWL6J4B7L6wgP1qKbE66mOrYf4+IM7Bklvfe95qFuhqYWKkVhGVXyE9l9b+o64nSIDAh3b58kvsGo 8obWKdBA==; Received: from mail-pf1-x42c.google.com ([2607:f8b0:4864:20::42c]) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lX3gt-008h3S-RT for linux-arm-kernel@lists.infradead.org; Thu, 15 Apr 2021 15:14:01 +0000 Received: by mail-pf1-x42c.google.com with SMTP id n38so16274379pfv.2 for ; Thu, 15 Apr 2021 08:13:58 -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=i0SWPsbZMrd0nebi+GVIlyiAWrh4CzfKyh+F53eCiJI=; b=g3thAUPNolya2yaKXB5KwLtyiplCBRPd1lMgSEU3Gl6ZxCnKYJBgaaqnI7wlZkPPe+ yKzXoBMZOx6M3RHjZHKdlRMDZHQ4qTtR58jloRXCd3cVfZ/bE2v9KEBYHKOSMHUqBaTN 859bdOg6morVtwz8+5qEion050CRwOLw11Zoe37RBBJMH+/DfxhiBYIF9OGctrZ07sP5 8tPRnhWGhxo/DxsQzOUSCyEOFvJYs6Uvb3xP05KjeAuHfTyB0yKsKml22hZmDS3kv0Tt nYi14mLivu+Cy+i3mj/ZRE7PbC9q145kAdC5qhpTvM4Ndpzt52CULPUiAAMMSWo5oD2F M2Eg== 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=i0SWPsbZMrd0nebi+GVIlyiAWrh4CzfKyh+F53eCiJI=; b=fRdHYvnARaRBDjtl7FUiTFT4wNpM2yIQ7yRCZ80Znbb3117dqlEMzCxwLSmvZGWiwK 0F+kI96EztC7GChMd9Bb5GqwY2mKRY6oeot4kDF8kmJmXZyvS2i1wUaakfmoWPMw4EFQ voJjgSnrpA1JOBFXXWmCFZpnAjZBP5qxyoEdOEk0FVFC6JF5qzwfxptdq/U7CMe7iHdt hKfvcOd8gTVm9+u2ZGQt9VKC7iexvlcfxa0zsjwAu+C36yvJO02oZ+KcYVbwKhweqak2 8QtlkHx737Sw+mQ3B6z/Zfs4CGCnYy/s672yHj83zPiie8D9l9pzhMZRJODsb72PI5sZ mnSA== X-Gm-Message-State: AOAM531I7rWeqZXt7wHfB7SmTkVhdUp85mhPsJGiRkhIyOTbSgLa5spn 5wZvDnemsCBkrg8YcROQLlU= X-Google-Smtp-Source: ABdhPJxYmcljVlbKmo68b2xJsy8My7DGt4PPefNRj1OC73eYNiNx+X83zT/1SrQUwzZfZcCRMywKUQ== X-Received: by 2002:a63:df56:: with SMTP id h22mr3959816pgj.84.1618499638122; Thu, 15 Apr 2021 08:13:58 -0700 (PDT) Received: from syed ([2401:4900:2eec:4193:f802:b600:e94c:55c4]) by smtp.gmail.com with ESMTPSA id 186sm2476361pfe.212.2021.04.15.08.13.48 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 15 Apr 2021 08:13:57 -0700 (PDT) Date: Thu, 15 Apr 2021 20:43:35 +0530 From: Syed Nayyar Waris To: William Breathitt Gray Cc: jic23@kernel.org, kernel@pengutronix.de, linux-stm32@st-md-mailman.stormreply.com, a.fatoum@pengutronix.de, kamel.bouhara@bootlin.com, gwendal@chromium.org, alexandre.belloni@bootlin.com, david@lechnology.com, linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, patrick.havelange@essensium.com, fabrice.gasnier@st.com, mcoquelin.stm32@gmail.com, alexandre.torgue@st.com, o.rempel@pengutronix.de Subject: Re: [PATCH v10 03/33] counter: 104-quad-8: Remove pointless comment Message-ID: <20210415151335.GA8933@syed> References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210415_081359_928284_0549C68A X-CRM114-Status: GOOD ( 17.71 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Fri, Mar 19, 2021 at 08:00:22PM +0900, William Breathitt Gray wrote: > It is obvious that devm_counter_register() is used to register a Counter > device, so a comment stating such is pointless here. > > Cc: Syed Nayyar Waris > Signed-off-by: William Breathitt Gray > --- > drivers/counter/104-quad-8.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/drivers/counter/104-quad-8.c b/drivers/counter/104-quad-8.c > index 9691f8612be8..4bb9abffae48 100644 > --- a/drivers/counter/104-quad-8.c > +++ b/drivers/counter/104-quad-8.c > @@ -1082,7 +1082,6 @@ static int quad8_probe(struct device *dev, unsigned int id) > /* Enable all counters */ > outb(QUAD8_CHAN_OP_ENABLE_COUNTERS, base[id] + QUAD8_REG_CHAN_OP); > > - /* Register Counter device */ > return devm_counter_register(dev, &priv->counter); > } > > -- > 2.30.2 > Acked-by: Syed Nayyar Waris _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel