Received: by 2002:a05:7412:1e0b:b0:fc:a2b0:25d7 with SMTP id kr11csp953941rdb; Fri, 16 Feb 2024 00:06:52 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCW1RLWEAit/hdsV/uPVzI8pl9TGYXykBLjt13kZASSL8NzhdF9qKl0LJsXkXsxONrcAtxNsUFs5xIrNImafnH3BipJnPmTP+u6RS/VrUA== X-Google-Smtp-Source: AGHT+IE3zFEif8u/WQ4SiDb2ioaZN5xhSpfI6sBK9gSphfHfD+vpkhskMOa63sQjkG8I0ji/PNnI X-Received: by 2002:a05:622a:10f:b0:42c:6ed7:fcf9 with SMTP id u15-20020a05622a010f00b0042c6ed7fcf9mr5364687qtw.19.1708070811868; Fri, 16 Feb 2024 00:06:51 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708070811; cv=pass; d=google.com; s=arc-20160816; b=hYjvTJ5chqAG2LRwFrUHrS8WhB7vRvQ8ZxfNdAuh+nkvl3nWl03LW7b8OjUpgE/dqr wD6J69FCpBk+0gMHs3jLRexk5Xn1P4zi+CTZGpym00g35FoVm7RyEbDw78rzkHy/U2Sz O1OOr09CqCxJ9vq0IFPJ+MY8hyhaGDjBTPbEL0Z9E84GEjheUW0cQytTMwutpQI6igXp rqB5bJMQRwF+xlv5rCoQbzPBl6DqPf0QdUm485F2bmOYwsM8hfEOC1FdP8dff+Wy10H7 SnA1Phk/yAIykP4R33C8JLTRQlfIwWTpCi9EXPN+fnMnncmh9GtPm5X4B4Dzh9X+rBlp q5gg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=1hUYFR1qvUKlxyuPUPNfEnuK9T+rqDJlWXvdCBwvEVg=; fh=nXs/zBkC1fyGT1Fbmmp5YZLdzFQCtlsfnl+UZiYevqg=; b=pzJAtz16vf0fyjfeFMSZAM194A8iJDOvwfhjWk3YEDHw+OVjNCeRKFvOo4T8Llg86y ZEeEoVsyVJo3ZMbbrnPHgsSY1EkWSf46pKa1aW+s/smtXRN/kqfTK67bWGQbp1U3N1FT NNGWwiLY/jRsQC7E8IeQl/ZCL+IBphK0QUsT5C3KH3sBNCmHbPZNK95s6HVW00p+ZXpJ m7NZ7OIOYcndSNc276oj2t9d5k8j+OaHItEWXkHTmznc9Nk0lea621iE6+7J+GADrNEr GAQVjP/9dQ/1jy/PJtqoM3yHotMAJ6yz+bAZSj+CILtOOX9LAgF78o1No/zjBDbqgokL 0bkA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b="lo+p/qBQ"; arc=pass (i=1 spf=pass spfdomain=bootlin.com dkim=pass dkdomain=bootlin.com dmarc=pass fromdomain=bootlin.com); spf=pass (google.com: domain of linux-kernel+bounces-68203-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-68203-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id i25-20020ac860d9000000b0042c7bf8c2dasi3231423qtm.315.2024.02.16.00.06.51 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Feb 2024 00:06:51 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-68203-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b="lo+p/qBQ"; arc=pass (i=1 spf=pass spfdomain=bootlin.com dkim=pass dkdomain=bootlin.com dmarc=pass fromdomain=bootlin.com); spf=pass (google.com: domain of linux-kernel+bounces-68203-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-68203-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com 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 ny.mirrors.kernel.org (Postfix) with ESMTPS id A02B81C20AE7 for ; Fri, 16 Feb 2024 08:06:51 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id EC8961B279; Fri, 16 Feb 2024 08:00:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="lo+p/qBQ" Received: from relay6-d.mail.gandi.net (relay6-d.mail.gandi.net [217.70.183.198]) (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 3117A182AE; Fri, 16 Feb 2024 08:00:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.70.183.198 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708070410; cv=none; b=X2xiMyEw/ugFBIvE8yL8FsrrP62fSVE0bt5R55p9b2vHmFL/YA+aIuJaYGGdk2oSqkI6wLChe8wryODy8on3bWJT7OW6Qro/b5Q+z7cHGsFN9mdrUrzdWuEg+IF2AJ2nUqxkkmqITv4PIQ4+nfzROqShsHqJNC9mno7+TAtimMs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708070410; c=relaxed/simple; bh=tKUNylC32zArc0JFh4DUwtl2sZsdK9U9bsqxjAHmfTg=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=oeLXMYm8U850jxsQAZ2nRuixig0PbRm130ZeXWDJmUd1Zw5xdc4/MaX2jQseNw5J0aC2U/ZSLke70M6D1GbRskQyG2CWPMKdRFd8xTSmfBQNNzarisuWBtnfVoZdHWizcmcp3GWQ6nmKAA+PD4kIotBXovdN4EChnIMbFI9fHxc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com; spf=pass smtp.mailfrom=bootlin.com; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b=lo+p/qBQ; arc=none smtp.client-ip=217.70.183.198 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bootlin.com Received: by mail.gandi.net (Postfix) with ESMTPSA id F28A5C0006; Fri, 16 Feb 2024 07:59:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1708070391; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=1hUYFR1qvUKlxyuPUPNfEnuK9T+rqDJlWXvdCBwvEVg=; b=lo+p/qBQMhPwepXZCYApgvlfDkOGsNpT+Pg8es5xwAOU+wWyXLhmUg5dZfc6wF7Q6H/ek8 aAGXOM2eE2CfgBAWb5ap2l6fvCLgUgAqH+OkpY3GFhgJWqXAbBgLeZsj2YVNU8tVzeuweY wcNY+uaQu3esHlFqNhwVcl8RzO/E9LGl6WVA6d/I7NwXnITuv3757IoMjcUsatikA7D2kD WnmVYAnPXvem+lm5GHe3eQS549Bx1IOzsk/CXIfyt1xl5Hu3NzoFQQxHzLRuw9PHIsZqzE UCy2/ADPKQj9DTCvWyq7WDQGOQSkABK4Q18akdWYKrZirdqYJoyCA+KC+p47lg== Message-ID: <78add459-a96a-46c6-83ff-e2657d4d3db4@bootlin.com> Date: Fri, 16 Feb 2024 08:59:47 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v3 02/18] pinctrl: pinctrl-single: remove dead code in suspend() and resume() callbacks To: Andy Shevchenko 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 , =?UTF-8?Q?Krzysztof_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 References: <20240102-j7200-pcie-s2r-v3-0-5c2e4a3fac1f@bootlin.com> <20240102-j7200-pcie-s2r-v3-2-5c2e4a3fac1f@bootlin.com> Content-Language: en-US From: Thomas Richard In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-GND-Sasl: thomas.richard@bootlin.com On 2/15/24 16:27, Andy Shevchenko wrote: > 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. > Hello Andy, I'm ok to move this patch after the next one. But for my understanding, could you explain me why changing the order is important in this case ? Regards, -- Thomas Richard, Bootlin Embedded Linux and Kernel engineering https://bootlin.com