From patchwork Tue Mar 9 13:19:16 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: William Breathitt Gray X-Patchwork-Id: 12125155 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=-13.7 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,USER_AGENT_GIT 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 14D67C433DB for ; Tue, 9 Mar 2021 13:23:50 +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 D9224650F5 for ; Tue, 9 Mar 2021 13:23:48 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D9224650F5 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:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=JQ/pGB8j3Yh81BjKIUOwiK2n5B+ElXm9NGgrS6/ZBxw=; b=EpIuk/8phN/fDkS7dgU5PIRqK +62Su/W8hZYcHYm2AE1RtXdAKROOrMyJhF1n/8dNoGN+zSlgsidKcXUHP07VztbSnheU9eYgf/TvW TpsierhN6yetNY96Q+VvzWz+KF8JGv9OYVNE2sncEHIcS+w5Uvmi79MrTTd6swNg4/ADOpiLxjccf E+4dy45xPpYta0YJUNZMxOiTTQewoGULdMPioER3ikHg4uf4vbwaiTKVRALHImhNzG1wvduzvzRtB IByIbv4xVZ3C0CEPQXjB28841XniqqXAq3BHg24a/I8uiJ1HTHd5w0XTLnv8ird7AHrVZcaq11/Ep WbJQtyktw==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lJcIf-004aPW-4c; Tue, 09 Mar 2021 13:21:25 +0000 Received: from mail-pg1-x532.google.com ([2607:f8b0:4864:20::532]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lJcHk-004a0f-Re for linux-arm-kernel@lists.infradead.org; Tue, 09 Mar 2021 13:20:32 +0000 Received: by mail-pg1-x532.google.com with SMTP id o38so8748918pgm.9 for ; Tue, 09 Mar 2021 05:20:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=o8tDypyv5ahTAAMuxI8NeVKXWRsIZA+Poj3szWZsqgo=; b=AYFaivlvQ/oLIjqJsJ/oehFS2L+56XUaU6sHt6nqOxr8FYpHMoGpDayLhwbo+RksWm m7Gdt+fW7hkOkEmzec0TM8IDtMPPmzEbDFvYQ+YT0XYHv66cHlTmoL1ghMEgsCalRPZB Es2RSKI/6Bj1qBz5P7gFOivsQoQCTuTIGUo2z8IupngTF9Jx0J4Zrc9WtdNTTQ2UoRqS dApjEniHKrL/jhZukBBhOnIZX2SNyrhB/at8RH6/sL/hBbFJWuJbPnQH6zzoM3bixpPG r8ZJe2EXD/nkza8KiXAtWxFAvgr9II1Xfmr0u1gQkwUeGo8voIN4det8zp4pwRs6K5Vv FBkQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=o8tDypyv5ahTAAMuxI8NeVKXWRsIZA+Poj3szWZsqgo=; b=uDhfHQi/Y4rfH1uxDVa7Xw1tzvSFs1jUXY/JmAltgFyuX6EDEMgHQiizwak6eU+07m qTHlkz8MeLlrtf43Yxevgaym2kBJNSWPUmbBlzg97VHAYeXnMTPZdZND8k7GTQSauoI6 BBbjBXk/k021Dw+kkZjHT1ZM0Rswv9lHusSI5aECUTOHj0M09uLdwekkUEINJC/94ye3 +7JVV/MYji3eAVSoPAAYANis0Gw5aXvG/FRc3JQwvBmzANTBRVBGFSSp1HWaZ0pRywfb FJ2jm6e3+oTC6oGaw9B1vimur5coRgXI2i9HB/yHfm7AA/reIhFdgl46r92Niib4Tfbv Ft/w== X-Gm-Message-State: AOAM530PdEkHAdxxTBl4ydgcwKqbvc7YgPVbM5YHgfYWz8Nvsfk587/E rWnWFZ9NYbEeU55gX8TKFgY= X-Google-Smtp-Source: ABdhPJxZKUUTrkGax8iWT8D8hxgyat5r+1Lghh1cpjR/93ysYtEmj5xKbxB+lyQOaaMyj9VgK4pDiA== X-Received: by 2002:a63:2441:: with SMTP id k62mr24161252pgk.332.1615296027115; Tue, 09 Mar 2021 05:20:27 -0800 (PST) Received: from localhost.localdomain ([156.146.35.76]) by smtp.gmail.com with ESMTPSA id y9sm7647421pfl.201.2021.03.09.05.20.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Mar 2021 05:20:26 -0800 (PST) From: William Breathitt Gray To: jic23@kernel.org Cc: 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, syednwaris@gmail.com, patrick.havelange@essensium.com, fabrice.gasnier@st.com, mcoquelin.stm32@gmail.com, alexandre.torgue@st.com, o.rempel@pengutronix.de, William Breathitt Gray Subject: [PATCH v9 03/33] counter: 104-quad-8: Remove pointless comment Date: Tue, 9 Mar 2021 22:19:16 +0900 Message-Id: <75913055bea8c4200f35727c03dd090d84f46c51.1615293276.git.vilhelm.gray@gmail.com> X-Mailer: git-send-email 2.30.1 In-Reply-To: References: MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210309_132029_523457_7E51C886 X-CRM114-Status: GOOD ( 11.35 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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); }