Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1647399pxb; Wed, 10 Feb 2021 13:13:54 -0800 (PST) X-Google-Smtp-Source: ABdhPJySIRgVrASJNApMTLJpql/0xYF7lu3lsGRlx9gYBbSnKcqi1CRMflIEfgbCi7qGv66VNYxu X-Received: by 2002:a17:906:c04f:: with SMTP id bm15mr4948528ejb.364.1612991634459; Wed, 10 Feb 2021 13:13:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612991634; cv=none; d=google.com; s=arc-20160816; b=Sr4bhytNlHrCkwr2r5LZRyurI54LAGNsZeFI/qmzKN8fn5+pZZxwXHL08EKuTA3Vn6 +CgsNSpWZGuUSKOMCPA7lVxQXtOlV1t90iyj5Zw4lWcn5btOqXfGcyi0TUWe8atBiSip wEzNay0bh8/GP2Raghss+JAqEmX5RjmI8485ccw0EwT9GZZ420L0WzfVgD5UDaxTaElr 7+6L23FFRD6qhs4fFJNpLau+LCkH+3cf0d49fS/Pef5b1dOkpLp1k26/WrHGLXh4KhvL Z94WSflBTTjiG2tUwUkp0GnHwLyt4pm9f16upuN97EOp8bSw/++w2ScfPgaMPW2BnFS0 FhEQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=UpL4V9o/g1ZEzgTRTKGihsAOBF2EZFW47qT5eRSu6k0=; b=RaxOanWp2kMyBwZjHg3ms7PZKkt1v3f+ILzWdV3LY6rHivxDBC124knZ1cePPey3Ch DqfHaCwMljQ22bRir0RWATCcCOmqKKKxngghyefJlEgukzOQJKZ3yT9bNBZahpmGcCm7 VkEmpGnUftWRETIT2NQsD/YV6wDZJ5QkyJgWvM/B+b8V0EgMBr1T/MJV15sCXh/gCVcN nKYeVhfy8z165tQJxCbuQMO69XPcjCsbE43YcsKEiBZpk7eE3zkWa8Y2ZrXWqv1ZGq/V glCCMn3gN/gos77dW/EYu6R6Syx9HFEnfeB9qhKTJm2uMOG8dOCBSjyL5+jKgz3qj4Re +a5w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@walle.cc header.s=mail2016061301 header.b=OIt5bVB0; 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 l10si2111015ejq.101.2021.02.10.13.13.29; Wed, 10 Feb 2021 13:13:54 -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=@walle.cc header.s=mail2016061301 header.b=OIt5bVB0; 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 S233369AbhBJVKb (ORCPT + 99 others); Wed, 10 Feb 2021 16:10:31 -0500 Received: from ssl.serverraum.org ([176.9.125.105]:42407 "EHLO ssl.serverraum.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232715AbhBJVJC (ORCPT ); Wed, 10 Feb 2021 16:09:02 -0500 Received: from mwalle01.fritz.box (unknown [IPv6:2a02:810c:c200:2e91:fa59:71ff:fe9b:b851]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ssl.serverraum.org (Postfix) with ESMTPSA id 7990323E73; Wed, 10 Feb 2021 22:08:18 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=walle.cc; s=mail2016061301; t=1612991298; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=UpL4V9o/g1ZEzgTRTKGihsAOBF2EZFW47qT5eRSu6k0=; b=OIt5bVB013h/dvuwee7JEXdalBm4FukqUeNgXtnq4MytnBEDjVlTclKHZNTB4jjHZnldRd +wKlcQpyQ9nApkhJOYA2pzGqz/77IhLxk0Sp7Rxu78VUrGlQ8IJdeaTzsCuIc2PKsuA8nH f/U65Xangx6vBBRJaaeuZR9ZoJZXQU4= From: Michael Walle To: netdev@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Andrew Lunn , Heiner Kallweit , Russell King , "David S . Miller" , Jakub Kicinski , Michael Walle Subject: [PATCH net-next v3 3/9] net: phy: icplus: drop address operator for functions Date: Wed, 10 Feb 2021 22:08:03 +0100 Message-Id: <20210210210809.30125-4-michael@walle.cc> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210210210809.30125-1-michael@walle.cc> References: <20210210210809.30125-1-michael@walle.cc> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Don't sometimes use the address operator and sometimes not. Drop it and make the code look uniform. Signed-off-by: Michael Walle Reviewed-by: Andrew Lunn --- Changes since v2: - none Changes since v1: - none drivers/net/phy/icplus.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/net/phy/icplus.c b/drivers/net/phy/icplus.c index ae3cf61c5ac2..43b69addc0ce 100644 --- a/drivers/net/phy/icplus.c +++ b/drivers/net/phy/icplus.c @@ -336,16 +336,16 @@ static struct phy_driver icplus_driver[] = { PHY_ID_MATCH_MODEL(IP175C_PHY_ID), .name = "ICPlus IP175C", /* PHY_BASIC_FEATURES */ - .config_init = &ip175c_config_init, - .config_aneg = &ip175c_config_aneg, - .read_status = &ip175c_read_status, + .config_init = ip175c_config_init, + .config_aneg = ip175c_config_aneg, + .read_status = ip175c_read_status, .suspend = genphy_suspend, .resume = genphy_resume, }, { PHY_ID_MATCH_MODEL(IP1001_PHY_ID), .name = "ICPlus IP1001", /* PHY_GBIT_FEATURES */ - .config_init = &ip1001_config_init, + .config_init = ip1001_config_init, .suspend = genphy_suspend, .resume = genphy_resume, }, { @@ -355,7 +355,7 @@ static struct phy_driver icplus_driver[] = { .probe = ip101a_g_probe, .config_intr = ip101a_g_config_intr, .handle_interrupt = ip101a_g_handle_interrupt, - .config_init = &ip101a_g_config_init, + .config_init = ip101a_g_config_init, .suspend = genphy_suspend, .resume = genphy_resume, } }; -- 2.20.1