Received: by 2002:a05:6358:f14:b0:e5:3b68:ec04 with SMTP id b20csp4098153rwj; Tue, 20 Dec 2022 06:08:44 -0800 (PST) X-Google-Smtp-Source: AA0mqf6sqt4fPWzC22DevSlyM1K4d+Jaw9lRbeqhidGazG7T9c/riUoCEU62aA3aBdB7j7Sft1iS X-Received: by 2002:a05:6402:3901:b0:467:c68b:a62a with SMTP id fe1-20020a056402390100b00467c68ba62amr40060544edb.10.1671545324733; Tue, 20 Dec 2022 06:08:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671545324; cv=none; d=google.com; s=arc-20160816; b=kwIYZ2kLUpWVq6PoImudEBxS0o/DB13UXzAm+AB2C4LUo7XCkkKj5QAoM7LI5H8YGC 3HXGokp78CZY+jqdj5Ss03terCe9NnRRBZIT4RRqfoVidEml90bGrntdO/AY3A+7FgVc P2dOlDTQrRC5VMxrbr5w7Micn31T7EvO7VpeBuTz8tnXFMu5JJGjLn3cyrcKxPNEXwGP UDY1UUz4zKYS5/EV/IqcNsn4QcsciHu7x58Pdf62ru7EQ9/QFSIRk8QHOJc9FvDvFieq nEVbuZ9ZQpoLlfDacLa6z4jq49anOH3txWjYU0Uv+njwrfpAd7ZEhPxEx6jJDODTG3kQ +DUA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:organization:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=YURrX1ooRnzOT7Ub7DW0bt5bzWqb0tvecm+wnwhYM38=; b=OsvzkB4W0aH9KzZuxlmoXyvxY19c5UJasTvxV8txOOibylayjxCgBa/2FFm1imBdcm 3e0MEhfe8riPy4lJJnJb6vBHDi5kRiQdQa0Cd4MaoZ8Z4k7I2Io2oUIRoYbKARN8LwAJ OZtfpz81ofNpSBIVuBFkZNnuSjwG/V8ujvHNVGxkQIPaTwVrlKIggQ8xz4tLErEns1hT LEPWodBYimQF077Gsn/4R5tY906J1d58slL/3xUqeB90WPRvmkyzIBBatB2dbSJZOAXu eJL39JBoDZhtK/Z9xdqBhb6vk8VKz68YoqUbnRJ7zUh93nnsIB8bqbpT0H+6KFG1bFYF 0Wsw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=RYrAoGk+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id dz10-20020a0564021d4a00b0045cfb63a033si2166715edb.551.2022.12.20.06.08.27; Tue, 20 Dec 2022 06:08:44 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=RYrAoGk+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233716AbiLTNwd (ORCPT + 69 others); Tue, 20 Dec 2022 08:52:33 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60660 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233346AbiLTNwa (ORCPT ); Tue, 20 Dec 2022 08:52:30 -0500 Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2DED71AA29; Tue, 20 Dec 2022 05:52:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1671544349; x=1703080349; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=VFYbPgahJpfwjZxfp4ytDA+bwT3WYLCNtB8Q3dBTiqk=; b=RYrAoGk+S5w6WnEPKTSzUzogNfCPUqfzOFRd92JStMDu/xOaxCuUUXcn x1KZ7DyLU1Q2SZBCVTxXCUPEXOBKfg8Vwk+dfiAmiFVVLCediNgFEpMZT 1IizVVbVhHAXEkbj8C3MYN4grgHLvRKZ9TAi3pQrdZSboz18AwDA4MIXh rM/v/oDUQpBcB7rVNRRoHGhKaQzYrp6UVYXlPJOgbC/9xup9dyix41bmN 6/91pdnslwRsTItSRXkbCZIIIYBobFZgyr/PbVbdjlBG7lGyZzV0PW7FS kcv1peDtP2IQ/+MIBvdVeyFLaiyT763dlWRGfAz9WG3CuhECGawio4N31 A==; X-IronPort-AV: E=McAfee;i="6500,9779,10567"; a="405861830" X-IronPort-AV: E=Sophos;i="5.96,259,1665471600"; d="scan'208";a="405861830" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Dec 2022 05:52:28 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10567"; a="628743389" X-IronPort-AV: E=Sophos;i="5.96,259,1665471600"; d="scan'208";a="628743389" Received: from smile.fi.intel.com ([10.237.72.54]) by orsmga006.jf.intel.com with ESMTP; 20 Dec 2022 05:52:26 -0800 Received: from andy by smile.fi.intel.com with local (Exim 4.96) (envelope-from ) id 1p7d2f-00CtLk-0I; Tue, 20 Dec 2022 15:52:25 +0200 Date: Tue, 20 Dec 2022 15:52:24 +0200 From: Andy Shevchenko To: Dmitry Torokhov Cc: Linus Walleij , Bartosz Golaszewski , linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 3/5] gpiolib: of: remove obsolete comment for of_gpio_get_count() Message-ID: References: <20221219192016.1396950-1-dmitry.torokhov@gmail.com> <20221219192016.1396950-3-dmitry.torokhov@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221219192016.1396950-3-dmitry.torokhov@gmail.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo X-Spam-Status: No, score=-4.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Dec 19, 2022 at 11:20:14AM -0800, Dmitry Torokhov wrote: > The function is only being called form the main gpiolib module, so > remove comment saying that it is also used by external callers. Reviewed-by: Andy Shevchenko > Signed-off-by: Dmitry Torokhov > --- > drivers/gpio/gpiolib-of.c | 6 ------ > 1 file changed, 6 deletions(-) > > diff --git a/drivers/gpio/gpiolib-of.c b/drivers/gpio/gpiolib-of.c > index 6724e375678d..6114c5b3d2ce 100644 > --- a/drivers/gpio/gpiolib-of.c > +++ b/drivers/gpio/gpiolib-of.c > @@ -76,12 +76,6 @@ static int of_gpio_spi_cs_get_count(struct device *dev, const char *con_id) > return of_gpio_named_count(np, "gpios"); > } > > -/* > - * This is used by external users of of_gpio_count() from > - * > - * FIXME: get rid of those external users by converting them to GPIO > - * descriptors and let them all use gpiod_count() > - */ > int of_gpio_get_count(struct device *dev, const char *con_id) > { > int ret; > -- > 2.39.0.314.g84b9a713c41-goog > -- With Best Regards, Andy Shevchenko