Received: by 2002:a05:7412:1e0b:b0:fc:a2b0:25d7 with SMTP id kr11csp549024rdb; Thu, 15 Feb 2024 08:01:52 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWVPk+cB+4dMoBUQIPyQZW1J26lmW+mBc2dGCPvyE1kA/Nh7aBr/okeb4oLD8k2TRTLHfUmbmQPahBQKO8/HTZsayWVBVtIQOeVuDGhAg== X-Google-Smtp-Source: AGHT+IGcHE+5Hl1+QEo3RZExQa6gGEiJY+HDklVeK4HfmjnDBTzz52c8ep9jRiBy02g/6omlL+AT X-Received: by 2002:a17:90b:210:b0:299:2d5e:abcf with SMTP id fy16-20020a17090b021000b002992d5eabcfmr38170pjb.44.1708012912150; Thu, 15 Feb 2024 08:01:52 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708012912; cv=pass; d=google.com; s=arc-20160816; b=ef6aXstloDhtrefmJtOhhdE6yZqHkyA3p0/OuKNvSe2JZd3xXq2jSUYuEohqQy06cO L3fOW/m4lXCBrHQLB1OEVHilcCGixCP6/l+hYOzqikBAAal3geLOb2eaUwmOsg3AWwlb iXUY2mDErvypmxWizAoYxIyOnUpgHlwLN8IOU3B6tRqHtGghYrAi/gfDGg4Jet3/z8yc 03+4yRj0eUVne4d/aHAgaR4UAGpLPf9mVyUAqvJf7qwW9QtMEZRpil0C0JxCrV7kmj1h Od+EfCuo+c8Oimvoh0xUdskjifW5rDy0nAHBXVDpdJYjsEfBzIn7z8kCg4KEQzV/iw8x C1Og== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=organization:in-reply-to:content-disposition:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:references :message-id:subject:cc:to:from:date; bh=nnXQoAA7KeK2Uw1+6eZMiq/3Ngwv8qMkZGCzBNDbEew=; fh=5apKaVowz/ZjS9fLUt54OKJ3biaEWV4EZkKw2C1HbwI=; b=IbUWVgIYb4iWFX04gBTgea7w/yWkubnt9H8DXk53NH/cnUNTbK/eFmYQOyhaVKPTxd xcudi2CXwKzLiFyc/m2ihTAuzSF8TRFDEmczQb3sf8iMbshXjOVm5o8xJuZ8TeIgRROD 7uaqz3QF25yOWDjbQuWTKyfrxljhwttqkLgJ46bPprnBzPs/svRd05E2GiHhxh2upcs2 cqrfKuPz67045ASp9uTESXJZMUzSILdIlYzP1ub+PUum6f+4QKEqckXf1V+99WaTBVTN nKxfEDetMxp7mtOlFLPT/wL8ikRXKHZqTyByGSchlyeSkdDFmt3m+j43I1lPln2vQLbH suEw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-67177-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-67177-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id x32-20020a17090a6c2300b00298c3737c77si3204442pjj.23.2024.02.15.08.01.51 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Feb 2024 08:01:52 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-67177-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-67177-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-67177-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 09866B2F607 for ; Thu, 15 Feb 2024 15:28:18 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D3F00133412; Thu, 15 Feb 2024 15:28:06 +0000 (UTC) Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.15]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A655B132C15; Thu, 15 Feb 2024 15:28:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.15 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708010886; cv=none; b=UP1H25JLRjBtYovHfgVE7sNx2yTThx54dh+fHLux6yYT7MunwXdMIhH03XN7Miqrxoy8eAepwjXj2BXaUAclDgCoa6W2eKsIvOO0eQH/ejbOu/jFyY4Yd62PEqjAAf8nbdsOy5FqlOuMwsXlouhTZCi5/EyUQccvSg/sCJHleDs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708010886; c=relaxed/simple; bh=wqOirCWwp7dxcqWa11oyyQiKznlU0bw28Q8JAuBhYmU=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=G3wxroO3TwlqWgHcT7dnbuASOP0aAB8Nz5CgcdztXwq6q4WgzzzJ7yc2R+/mE5ASa/G0nRI4MQjxOzd04IGSciXAVD3tUT8bRrvdcEZiGGIXWCoUj4kGj0XF+9I+nS3antH63DaX2vv6ApKv9DLy7GeHCErshgX/Ims43Fwb4vg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org; spf=fail smtp.mailfrom=kernel.org; arc=none smtp.client-ip=192.198.163.15 Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: smtp.subspace.kernel.org; spf=fail smtp.mailfrom=kernel.org X-IronPort-AV: E=McAfee;i="6600,9927,10984"; a="2228919" X-IronPort-AV: E=Sophos;i="6.06,162,1705392000"; d="scan'208";a="2228919" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmvoesa109.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Feb 2024 07:28:04 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10984"; a="912180533" X-IronPort-AV: E=Sophos;i="6.06,162,1705392000"; d="scan'208";a="912180533" Received: from smile.fi.intel.com ([10.237.72.54]) by fmsmga002.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Feb 2024 07:27:56 -0800 Received: from andy by smile.fi.intel.com with local (Exim 4.97) (envelope-from ) id 1radeT-00000004pP7-3zsq; Thu, 15 Feb 2024 17:27:53 +0200 Date: Thu, 15 Feb 2024 17:27:53 +0200 From: Andy Shevchenko To: Thomas Richard Cc: Linus Walleij , Bartosz Golaszewski , Tony Lindgren , Haojian Zhuang , Vignesh R , Aaro Koskinen , Janusz Krzysztofik , Andi Shyti , Peter Rosin , Vinod Koul , Kishon Vijay Abraham I , Philipp Zabel , Lorenzo Pieralisi , Krzysztof =?utf-8?Q?Wilczy=C5=84ski?= , Rob Herring , Bjorn Helgaas , linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-omap@vger.kernel.org, linux-i2c@vger.kernel.org, linux-phy@lists.infradead.org, linux-pci@vger.kernel.org, gregory.clement@bootlin.com, theo.lebrun@bootlin.com, thomas.petazzoni@bootlin.com, u-kumar1@ti.com Subject: Re: [PATCH v3 02/18] pinctrl: pinctrl-single: remove dead code in suspend() and resume() callbacks Message-ID: References: <20240102-j7200-pcie-s2r-v3-0-5c2e4a3fac1f@bootlin.com> <20240102-j7200-pcie-s2r-v3-2-5c2e4a3fac1f@bootlin.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240102-j7200-pcie-s2r-v3-2-5c2e4a3fac1f@bootlin.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo On Thu, Feb 15, 2024 at 04:17:47PM +0100, Thomas Richard wrote: > No need to check the pointer returned by platform_get_drvdata(), as > platform_set_drvdata() is called during the probe. This patch should go _after_ the next one, otherwise the commit message doesn't tell full story and the code change bring a potential regression. -- With Best Regards, Andy Shevchenko