Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp5664429rwp; Mon, 17 Jul 2023 07:43:16 -0700 (PDT) X-Google-Smtp-Source: APBJJlG1p76M/YGz57X5pZORf2XSXoKCuzkry80OUQUw29sl79pjg7ropy7Hy+XLQRvKSmdwa7Bl X-Received: by 2002:a17:906:535d:b0:98e:16b7:e024 with SMTP id j29-20020a170906535d00b0098e16b7e024mr10869351ejo.38.1689604996136; Mon, 17 Jul 2023 07:43:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689604996; cv=none; d=google.com; s=arc-20160816; b=iv96b/hxNKyy8/wsGdNOi7wiUjIvnbiQrOU4hZjiS9m2x2gG0cG94LnPCvN+hpBVpT z/rjKeBVQ829et61n5xzuoyoh32IkLtHZOQyeUs6gpsMDckne/uPbfemdK1BQOWDj/hw KU38RiohfKKOba1ENtgNc2xa/EfOAr5SvEmosZz6qjWtTDfbuC4iPR2n4+vogq5Guffw VoVSVPw2V0jvg+Mt0tGkL/i6y7LEXVRZ85wlI8sdiXI0D6MnIoB3nmf6yv7yzh4aaalM /aGcWasWTLCit36GhDui7r/tXdyE8y/lHinlyPRvTLe7G3NCNaNS+3pXzNZfbuN/xHt2 y4UQ== 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; bh=E4xIDREcqntE5SoSHqx6vmDERzemYox3sYOekptkLIw=; fh=tJJNz2niKM9JyKLj8AULTMD/Y/m7t5JRaZQnk+7K14g=; b=PiXpFgCKwkcex+q4ux14PB6bKTJXXlEfziLB8la+Ji9Z42SefDZvddCSCnlI1rNxm8 RHyv1NbVktkG5lLJ+VzelpoPo8SC9TzT5ecgLq5zJMTDIdBNKEQk88CuocvUx4j8QPj7 JS7L5c4Wlk7jX4VU7+1XwJbMypRo0PgueFTiZrNQJAGa9dYiKDUYEhfN+1wqYZMZ1jce p9paCp8izB5krw2JdbCK6xBstLu0KSs9zXgZZmAh5YAQyv10IoxLp+IgspPv0tQ9YVKN JxsXRvgnGgb19fbsip5VGgDDcurh5lCIEVdSFXvspdYu982Uc+mOjj+YYQaIAJL8nUrA brPw== ARC-Authentication-Results: i=1; mx.google.com; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l20-20020a1709066b9400b0099307123b55si14320029ejr.76.2023.07.17.07.42.51; Mon, 17 Jul 2023 07:43:16 -0700 (PDT) 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; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232046AbjGQOHQ (ORCPT + 99 others); Mon, 17 Jul 2023 10:07:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36216 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232043AbjGQOHC (ORCPT ); Mon, 17 Jul 2023 10:07:02 -0400 Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 51FEA1BE; Mon, 17 Jul 2023 07:06:53 -0700 (PDT) X-IronPort-AV: E=McAfee;i="6600,9927,10774"; a="346243288" X-IronPort-AV: E=Sophos;i="6.01,211,1684825200"; d="scan'208";a="346243288" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Jul 2023 07:05:58 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10774"; a="700504043" X-IronPort-AV: E=Sophos;i="6.01,211,1684825200"; d="scan'208";a="700504043" Received: from smile.fi.intel.com ([10.237.72.54]) by orsmga006.jf.intel.com with ESMTP; 17 Jul 2023 07:05:55 -0700 Received: from andy by smile.fi.intel.com with local (Exim 4.96) (envelope-from ) id 1qLOrJ-00HTZK-34; Mon, 17 Jul 2023 17:05:53 +0300 Date: Mon, 17 Jul 2023 17:05:53 +0300 From: Andy Shevchenko To: Andrei Coardos Cc: linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, zhang.lyra@gmail.com, baolin.wang@linux.alibaba.com, orsonzhai@gmail.com, brgl@bgdev.pl, linus.walleij@linaro.org, Alexandru Ardelean Subject: Re: [PATCH] gpio: eic-sprd: remove unneeded platform_set_drvdata() call Message-ID: References: <20230717121004.5205-1-aboutphysycs@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230717121004.5205-1-aboutphysycs@gmail.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo X-Spam-Status: No, score=-1.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_SOFTFAIL,T_SCC_BODY_TEXT_LINE autolearn=no 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, Jul 17, 2023 at 03:10:04PM +0300, Andrei Coardos wrote: > The platform_set_drvdata() call was never used, ever since the driver was > originally added. > It looks like this copy+paste left-over. Possibly the author copied from a > driver that had this line, but also had a remove hook. Reviewed-by: Andy Shevchenko -- With Best Regards, Andy Shevchenko