Received: by 2002:a19:ef0c:0:0:0:0:0 with SMTP id n12csp951054lfh; Tue, 1 Feb 2022 12:53:28 -0800 (PST) X-Google-Smtp-Source: ABdhPJxw9jtuOvyclszna5hCV8/PnYM1bOn6rR23zcrH9RgLxqew/uJxy0TKlcOo1qMqJfGwrEqE X-Received: by 2002:a63:69c8:: with SMTP id e191mr5756964pgc.412.1643748807745; Tue, 01 Feb 2022 12:53:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643748807; cv=none; d=google.com; s=arc-20160816; b=hpG0YBb6/pZdGiXIkpFvA6Qmsg2irJWlPHUbQ9CQdqYKFAE+GP3+PznlxYJ9XkFBhr 37OYZI4sgEK9da9LzD4VyNSRtHUYBNfm5le2BXmZYh9RnQiu+eOoE7Xje/8CVVIkgJ6Z D4Zxw2EOC6yIV3zSCQTmmuPpIi20mSvdBf0Oi1d1y6SUst1VwxwhpoudxO59vSuEEuy5 ImcUUfZEVXKiGLVHrevh2Ygyb899bIaXGrHYl2nbvswaamjWWLddBF0or5Q5NSW8rd6B YL6cfrDcxIBkyrcUx+mInCKGUgPPMBO5lAgvn3FibWeIMobMDcqnL3KcKsa1p1h5AthX QnJQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=SJizipcR4GYK9nZ18E+KFW96TyLTsYwihcN1C/AM448=; b=EH6+/Ynl258GZHWETQAPxsDaOWU0xg0xfIvVmfWyA3W9P8/i46cDaAEQLrs2gZ8Pro XaRUh0Fw/Ry4B7bpZfmSnsQXu5pPDumGVFGZfGcc0y4F3wIblVnN7NU/vGQeiHas+XOY 3wLn0RjOGj0odF9DUg4y4GPXPMu/XLQZwnFVaLsk6HzcoGbH7uJsUlQhp3JzEUGseQm1 2vXXtGlcTvb9M2gQz7cd6SvnRWb6Hjn68Jvft5X3AEZn3P9ZKApNbsOjEUCR8B4SZJr8 4uIe1tD5NudJcZ1nMxdjoYU50oFAJ1izzr/I8EFWrbh3axAYgbDxbh58CsfoDksQqkaV x03w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=aWcXVKRx; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y15si20022122plg.299.2022.02.01.12.53.16; Tue, 01 Feb 2022 12:53:27 -0800 (PST) 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=pass header.i=@gmail.com header.s=20210112 header.b=aWcXVKRx; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237741AbiAaXM2 (ORCPT + 99 others); Mon, 31 Jan 2022 18:12:28 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44984 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237496AbiAaXMV (ORCPT ); Mon, 31 Jan 2022 18:12:21 -0500 Received: from mail-pl1-x630.google.com (mail-pl1-x630.google.com [IPv6:2607:f8b0:4864:20::630]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 80BDDC061714; Mon, 31 Jan 2022 15:12:21 -0800 (PST) Received: by mail-pl1-x630.google.com with SMTP id x11so13864581plg.6; Mon, 31 Jan 2022 15:12:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:date:mime-version:user-agent:subject:content-language:to :cc:references:from:in-reply-to:content-transfer-encoding; bh=SJizipcR4GYK9nZ18E+KFW96TyLTsYwihcN1C/AM448=; b=aWcXVKRxL+6ZRKa44EMDdVBXQi/0d5gY3CC0jRPi0ZLah6xWVOcPeCvcWa6ToGjzAX GumvRzizw2AWbmS9gVIUcY4rZzeY45R6mxL1c0tvHm96/gDQAIT/j9weywQ1Iui6ntzJ 1Iqa1Q/UI+f/0iZPMwTmVHiYFM3PpQltIQuJFe50NgwNWf8DDjMV3md5V4+658HfMz3T 1+41XUufuKEMVyxiGx8Xr+Q0+Wl7IaIt+XwDVK5fa1QiK5whCfdwuLbSylX5bUxpmXQf rxjZJekm49lpXhOfL5d2GiACLHCEM5tWafMcdhmgVQ0Oe7wNMcuAC+bu5Yj48Vhfx90X 5NGQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=SJizipcR4GYK9nZ18E+KFW96TyLTsYwihcN1C/AM448=; b=apRVKccIdWo1jVoDMrISMf44vL1xioIB44kkirM8wP3USxnZryyPoxDwDcPlMEqU1D 2IRMaS9guE+LB6FIwi0uuoTWiGsmgJlEPCpDw10xLpZ1B6T7s2FkprsUT7fl+N5ZI9Xf jsicSj6k7vBq9lkFwg6xsTn+O/HcWD/BAGE2n/RwS3XUZKiwlnKNGOvbJUNI1j0LfKOQ oKGIj60sBl+IT3FFtNT96QBWR+SV1Jtfzjb9TQ3ndFEgaGQg8F9F7BHMKlI8g7BS3jbG z7MAJT8FRV+oPKHa4dwwGiAU1xe9nALAqwgJ0ARLn4lAjo0GkqjOIFtxF/iR+Vfip1LQ J/CA== X-Gm-Message-State: AOAM533MDfN4rXm+LK3HCnbsBpEFaY+G8n6cFgARb50bPVHLxuALudTb uKGKKRzs4TkHI5AeKiXTd8U= X-Received: by 2002:a17:902:b414:: with SMTP id x20mr23623108plr.14.1643670741027; Mon, 31 Jan 2022 15:12:21 -0800 (PST) Received: from [192.168.1.3] (ip72-194-116-95.oc.oc.cox.net. [72.194.116.95]) by smtp.gmail.com with ESMTPSA id t11sm4581778pgi.90.2022.01.31.15.12.19 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 31 Jan 2022 15:12:20 -0800 (PST) Message-ID: Date: Mon, 31 Jan 2022 15:12:18 -0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 Subject: Re: [RFC v6 net-next 3/9] net: mdio: mscc-miim: add local dev variable to cleanup probe function Content-Language: en-US To: Colin Foster , linux-arm-kernel@lists.infradead.org, linux-gpio@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Steen Hegelund , Lars Povlsen , Linus Walleij , Russell King , Heiner Kallweit , Jakub Kicinski , "David S. Miller" , Vivien Didelot , Andrew Lunn , UNGLinuxDriver@microchip.com, Alexandre Belloni , Claudiu Manoil , Vladimir Oltean , Lee Jones , katie.morris@in-advantage.com References: <20220129220221.2823127-1-colin.foster@in-advantage.com> <20220129220221.2823127-4-colin.foster@in-advantage.com> From: Florian Fainelli In-Reply-To: <20220129220221.2823127-4-colin.foster@in-advantage.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 1/29/2022 2:02 PM, Colin Foster wrote: > Create a local device *dev in order to not dereference the platform_device > several times throughout the probe function. > > Signed-off-by: Colin Foster Reviewed-by: Florian Fainelli -- Florian