Received: by 2002:ab2:60d1:0:b0:1f7:5705:b850 with SMTP id i17csp395501lqm; Wed, 1 May 2024 04:16:10 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCW3iIKcQ6hZtNAAieLj/Id0IWAOl2w+mxrEjyyoRMeE2n2dGlMBqw2UahwT5iWYsJ+6Jivm1KXA8zAU+bDHrugZ490dN13voxvv3meHaw== X-Google-Smtp-Source: AGHT+IHmPf002GNQySPoeeRnddx6QaqTUmB96epoXmjP5PP25rfSl81j15ZTKsguXeTsmSwQT2WZ X-Received: by 2002:a05:6214:519e:b0:6a0:af99:6b4 with SMTP id kl30-20020a056214519e00b006a0af9906b4mr2549739qvb.57.1714562170399; Wed, 01 May 2024 04:16:10 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714562170; cv=pass; d=google.com; s=arc-20160816; b=Vtdu0UtALMc5NX5AnNJEkGvCOCQyk37nA0RiLPmJvXkd6IVrN7Vbz6s5ZTuQ823JyD u3s0yK2xOWrM4VAA7mrI4Cu+HwCrTyy9x8i9fKUjVxQa82NxVhb2ZzH+WAaREhju5j9x 0/CtxSydSZN2vjVYzOwYf5EPDgCkuxC8TFymul5sBf6LkoaDO3KCuiKcRcZdTdNqHZwm XpkOLQL33sctLG3j/I0dEAgqCLZMwq+7UxS5ELmoL7ekki/HCQg2mkff2i/qsorjZ8fm opv+5u6h1q7ErXjwpDBnP3saBnk3K2ClsR8uhtcXGnPrfK6NybV1OIebmMIbZM421etS HqIw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:from:content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:subject:message-id:date :dkim-signature; bh=vW0bmQ2Gy2SUcZNR1PRs/buLYoeHS7YKz4D2RrJesUU=; fh=bEkg8bT6di8URdBM5213zai54Vm9MxQxKc/s79afYnA=; b=mpz0cBKk/sN7WWX7pZST8RDSTMAXNVrJNz4uWoXiyof5Qfa8wzfvaFDmSs1EKnh4d5 buQQg7Bn1LWyfUckPjADjGFO8eGO10itUQ9mStV+0Xevq7o8AnrUDcL+umiLUM+h5voH 4kprlfOvi3ztrkcsxgJMQks2XQXI6NRSpV9tc2VsEkJySRgg4naP4NzXDUHpersRQ5wm fIvuEdaOniCrIG4BfK8d8DbPPivwLdJq/MxeUaTRcK7pTKRawriaNrsBfiltD0YsJhic L4VIAFmfbu3H4WTqe40gKY6YLUEP14asolD8F3lm8UY4CDC8xoCnA4E9hCIW8ZGgPr8H oJbg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@rere.qmqm.pl header.s=1 header.b=haNFRWk0; arc=pass (i=1 spf=pass spfdomain=rere.qmqm.pl dkim=pass dkdomain=rere.qmqm.pl dmarc=pass fromdomain=rere.qmqm.pl); spf=pass (google.com: domain of linux-kernel+bounces-165177-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-165177-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=rere.qmqm.pl Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id g9-20020a0562140ac900b006a0cd8de03fsi7237325qvi.418.2024.05.01.04.16.10 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 May 2024 04:16:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-165177-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=@rere.qmqm.pl header.s=1 header.b=haNFRWk0; arc=pass (i=1 spf=pass spfdomain=rere.qmqm.pl dkim=pass dkdomain=rere.qmqm.pl dmarc=pass fromdomain=rere.qmqm.pl); spf=pass (google.com: domain of linux-kernel+bounces-165177-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-165177-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=rere.qmqm.pl 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 22FEF1C2102F for ; Wed, 1 May 2024 11:16:10 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DA7A058217; Wed, 1 May 2024 11:16:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=rere.qmqm.pl header.i=@rere.qmqm.pl header.b="haNFRWk0" Received: from rere.qmqm.pl (rere.qmqm.pl [91.227.64.183]) (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 7436848CE0; Wed, 1 May 2024 11:16:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.227.64.183 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714562163; cv=none; b=ex8Ht904hs+/ADCxNduO+MMY1MsY50VqZXVE5FeM1VxNFsJZkYLYZsWZqz/2Z/bHI8km/ncibXQzqVSjOQEcfCxZ1Z23I1C9jJOEKppwVynbqK02lFIX94ZS+1EQiXqXMSndMsRL/KwfxO7uzRqATFOk0kXOAxf01TE+VlX70X0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714562163; c=relaxed/simple; bh=WrVzGn8KPWtlAdktWSnKisYZX5ONnAb2Sjp21iUZoxU=; h=Date:Message-Id:Subject:MIME-Version:Content-Type:From:To:Cc; b=EAnsCuRkOI8wpilIF9y6Onbjjaqko2ZzD3gs/CKQJZLKyElo/cKBIGNkHWoDmBHSDZTBkt9YBVnHr8iqd7Jfb7lwNNsRdDNJMpF6/H5fdz/hpCdNSM7tcuyTfYuSE3uvTm+2qYSVbOS54+m7/EY6zmdWmMMXmRByCqwqWBja0E8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=rere.qmqm.pl; spf=pass smtp.mailfrom=rere.qmqm.pl; dkim=pass (2048-bit key) header.d=rere.qmqm.pl header.i=@rere.qmqm.pl header.b=haNFRWk0; arc=none smtp.client-ip=91.227.64.183 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=rere.qmqm.pl Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=rere.qmqm.pl DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=rere.qmqm.pl; s=1; t=1714562159; bh=WrVzGn8KPWtlAdktWSnKisYZX5ONnAb2Sjp21iUZoxU=; h=Date:Subject:From:To:Cc:From; b=haNFRWk06TEuzRzNretw0HYSkvnEWL4JcrhIGNkGmmsEFOZ5wSK7laIOh6xTuMUtJ AugGMS1x5Costci2JNubtpTVfnMujlRxad1d/mIOK/wy8DPAlFH92A6dtMRY0x41hi 8U8ksplQ6VjmqgU2SGHBEFycoM4Y/tmKMLvBv7cZ/yDyFlggaz9VZUsQAFtDPuUN9A uhICQiyvbwI6wzvEMIBMjD1jHY/6GAv8sRLuMuC+WDFgP1jqKa91vd4PVSJZS3FWj7 ZXeQbTuv9z3dz71l5eDf3f26YNr12FxrDMjPgvcDnSyR+8hw9IqooRxz+fqran7yZ3 I+7t4R44OZWBA== Received: from remote.user (localhost [127.0.0.1]) by rere.qmqm.pl (Postfix) with ESMTPSA id 4VTvdC1SNLzBL; Wed, 1 May 2024 13:15:59 +0200 (CEST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 1.0.5 at mail Date: Wed, 01 May 2024 13:15:58 +0200 Message-Id: Subject: [PATCH] pinctrl: renesas/sh73a0: use rdev_get_drvdata() 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=UTF-8 Content-Transfer-Encoding: 8bit From: =?UTF-8?q?Micha=C5=82=20Miros=C5=82aw?= To: Geert Uytterhoeven , Linus Walleij Cc: Liam Girdwood , Mark Brown , linux-renesas-soc@vger.kernel.org, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org Replace `reg_data` access with the official wrapper. The field is going away soon. Reported-by: kernel test robot Closes: https://lore.kernel.org/oe-kbuild-all/202404301218.URkWO6dj-lkp@intel.com/ Signed-off-by: Michał Mirosław --- drivers/pinctrl/renesas/pfc-sh73a0.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/pinctrl/renesas/pfc-sh73a0.c b/drivers/pinctrl/renesas/pfc-sh73a0.c index ca5adf2095be..41587233aa44 100644 --- a/drivers/pinctrl/renesas/pfc-sh73a0.c +++ b/drivers/pinctrl/renesas/pfc-sh73a0.c @@ -4024,7 +4024,7 @@ static const struct pinmux_irq pinmux_irqs[] = { static void sh73a0_vccq_mc0_endisable(struct regulator_dev *reg, bool enable) { - struct sh_pfc *pfc = reg->reg_data; + struct sh_pfc *pfc = rdev_get_drvdata(reg); void __iomem *addr = pfc->windows[1].virt + 4; unsigned long flags; u32 value; @@ -4057,7 +4057,7 @@ static int sh73a0_vccq_mc0_disable(struct regulator_dev *reg) static int sh73a0_vccq_mc0_is_enabled(struct regulator_dev *reg) { - struct sh_pfc *pfc = reg->reg_data; + struct sh_pfc *pfc = rdev_get_drvdata(reg); void __iomem *addr = pfc->windows[1].virt + 4; unsigned long flags; u32 value; -- 2.39.2