Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp2442194pxb; Mon, 20 Sep 2021 22:56:25 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxYeYg8YhMjynXT0a1oY7aIKuH75IvSiAFDPjrJwlm0bx50+gZefcm4OMoLPXDkhce4owD6 X-Received: by 2002:a17:906:c52:: with SMTP id t18mr32713299ejf.148.1632203785445; Mon, 20 Sep 2021 22:56:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632203785; cv=none; d=google.com; s=arc-20160816; b=o5vp77WuY9JPjgUbBSNK8O+lTYnyIyx+lJsBk/vrPngm8sw+3XVsQl54MisSum9USB ve/oCoY0J/itHe1zSwsRUXxrvliYCz2lUTu5b6cuBu1uD0OLhsL4Qn1Y1ROMolenMc9Z fT12B+UHcLXXdGpSDLK1LHqbzYnDEtCe5w90t+NY9EEtMqWIcRi3j226cE7siH/sO2fW PSm1H6XmKaQq8Thw2S60jjeYWrmn9205N81RW1Ab7QJk6fQJjnAVL+UVWRoSWGaJVb+g MBF6lsRO0ALiKExu3mRctlbrHUUE9eAdv6e7E7L+qozEHewwj79yehUDZyqHV/DSp/EE 3nKg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:mail-followup-to:message-id:subject:cc:to:from:date :dkim-signature; bh=TsC7Gf8WNSlJZ2XI5WCkNgZUyR2lj2Iij8k4znGy35Q=; b=nT4Km9WFMWy6GjTEpF5JWRFbWKNPeLtirYuy+gVM1MqSPMirzCV9FI+LZoA4X9pqgb wPdqlBWRm8Bg80Xm55azuKGpaKBLeNlUQ+gtuVlhQv+O61BgXbv/iQvaJaB747mxGElc Pn0F7GvBLPWqwbbkW1vumJGZPkg2UleuTY4kMV7Z8h8nbXwkF7ZtvpinVRpirXx2/qXQ ntF67VJLwDTs94cQCCbLtylEBbxQ5CWP9wofigarcUGH3IYhl5SbX5aZ9+ai15idlRVS jveugwWUFWWVVI5ma84ZO13u/TNwXBFLRMb9SlY0lY7/PuPMKgDkWJpYP7Q64F579u3w vGGQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail (test mode) header.i=@sang-engineering.com header.s=k1 header.b=GYDUxnuZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z5si18530835edr.302.2021.09.20.22.56.01; Mon, 20 Sep 2021 22:56:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail (test mode) header.i=@sang-engineering.com header.s=k1 header.b=GYDUxnuZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229770AbhIUFxz (ORCPT + 99 others); Tue, 21 Sep 2021 01:53:55 -0400 Received: from www.zeus03.de ([194.117.254.33]:56980 "EHLO mail.zeus03.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229784AbhIUFxy (ORCPT ); Tue, 21 Sep 2021 01:53:54 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple; d=sang-engineering.com; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=k1; bh=TsC7Gf8WNSlJZ2XI5WCkNgZUyR2l j2Iij8k4znGy35Q=; b=GYDUxnuZz1WCM9i5DOD0Lyj3+f10g6mCvhKZ+yj4A0M3 Z6lHweg2hvKsBATNUHeUyTBownIcoI4HRMuBlQZncftDW9uI0osur358+SOeOXyM cbeOKtqIFNusPGFl3iXgkcPyYXFv2iqHm7hCX9oZxltDQYbbifqfM2s83rCxjOY= Received: (qmail 2740070 invoked from network); 21 Sep 2021 07:52:23 +0200 Received: by mail.zeus03.de with ESMTPSA (TLS_AES_256_GCM_SHA384 encrypted, authenticated); 21 Sep 2021 07:52:23 +0200 X-UD-Smtp-Session: l3s3148p1@EuEyAHvMas8gAwDPXxJ6ACVKg6pV4G9h Date: Tue, 21 Sep 2021 07:52:19 +0200 From: Wolfram Sang To: Florian Fainelli Cc: linux-kernel@vger.kernel.org, linux-renesas-soc@vger.kernel.org, Andrew Lunn , Heiner Kallweit , Russell King , "David S. Miller" , Jakub Kicinski , Ray Jui , Scott Branden , bcm-kernel-feedback-list@broadcom.com, netdev@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH 7/9] net: mdio: mdio-bcm-iproc: simplify getting .driver_data Message-ID: Mail-Followup-To: Wolfram Sang , Florian Fainelli , linux-kernel@vger.kernel.org, linux-renesas-soc@vger.kernel.org, Andrew Lunn , Heiner Kallweit , Russell King , "David S. Miller" , Jakub Kicinski , Ray Jui , Scott Branden , bcm-kernel-feedback-list@broadcom.com, netdev@vger.kernel.org, linux-arm-kernel@lists.infradead.org References: <20210920090522.23784-1-wsa+renesas@sang-engineering.com> <20210920090522.23784-8-wsa+renesas@sang-engineering.com> <6a8ffcab-4534-1692-5f6a-8a7906d07a09@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="lhLmpLSFjJ4cOlGR" Content-Disposition: inline In-Reply-To: <6a8ffcab-4534-1692-5f6a-8a7906d07a09@gmail.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --lhLmpLSFjJ4cOlGR Content-Type: text/plain; charset=us-ascii Content-Disposition: inline > The change looks good to me, however if you change from > platform_get_drvdata() to dev_get_drvdata(), you might also want to > change from using platform_set_drvdata() to dev_set_drvdata() for > symmetry no? If not, then maybe this patch should be dropped? In theory, yes. However, I haven't finished the coccinelle script yet because there are a lot more usage patterns. I can do this individually for this driver first if you want. --lhLmpLSFjJ4cOlGR Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEOZGx6rniZ1Gk92RdFA3kzBSgKbYFAmFJcw8ACgkQFA3kzBSg KbZhwRAAllWphC2uNFh1IXRes+w2NxhbIvR7QkzU83hHzeYBsyhHaZuvVGAFogPq QAlitr4Ea30sImmthBwldN79YGuX80gloJnq+gq8W4AvKbWa9bX+kmovig/jdsy6 ixuoMnAQoxwD9ya+c7wqMZax9A8QI3Fks0/aoGXZBeJWMrRaKq/V0WQ8TCrm6kZ2 RlfW6xMWmCxNia0a2p2rZRpgsqQH7eNxYG/pY821XJYXXyNFzDDm+AA9ctJuiSTS RBiFdwSjSRIedPGm52iew2EXeh4D+o+nH/a93iFZq5DPu6TjMolVRyyNtGeU/oEL /GgwjvaJg66NMkzOdY+aEpqPQ60+5eCOHNKoZgIxeORws7W2wlJt/VOBYq6MtROY dDDASxQ0MyLGuh6C62JMIiMxa3+DjmTujJWu9K/YdZul47JMT1aEICUuQIEr/5U9 k5PVHgE/hM+VXfl73fXSnbqSn24HGOIKjxzi/Qf4+XLpD82C2uUwWFjqsnrMoL9+ rYINPUwo0zW6U0s48fThnkwYuY1kGlK+qFvpQIGGiAMoaq9Bd3cDxbx72qOf8KV2 U8cqzJoh0M0aLVEUyncQ+27SMo4m6xWsi77Ga9n7BbMX31snCJTDHiDn2HukdGka pmhsHigfeelqBKR9/iTLhI1G+iWAOMyFgnhQvRZh4jVG94wC2bY= =1qz8 -----END PGP SIGNATURE----- --lhLmpLSFjJ4cOlGR--