Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1463084pxb; Wed, 10 Feb 2021 08:53:05 -0800 (PST) X-Google-Smtp-Source: ABdhPJyULn79qUiBxYPNzPESMZFhmUFzh9sU9GQLcLs6ZCQfPl+OhYTjMcanxrZemaGf2UrK7DYx X-Received: by 2002:a17:906:35d9:: with SMTP id p25mr3816419ejb.398.1612975984875; Wed, 10 Feb 2021 08:53:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612975984; cv=none; d=google.com; s=arc-20160816; b=UxoNEpadFmpQ9VxIQfTfSMcWRG3e/fodZ4khYnB1LEkQaWSG7dAoIKKEtFHSttT+Bn ZFZgwV7fE4+29fA5Nwbw1FkInd3m5RfJa9DoK62S0r8mpHkDYqNEndKBAh2dUmsiKBd1 010CSMPVGE8BJ1o1urdj7eoGygBxaClcQ7aqW6gsy4uA8v4oIPKC1bmQUfwxnRjZPsB1 2Uh8DS8tN6LA8E5oiWIYVds49E/mW+eOrsNYF2jR6Tru1LUGF9cOM/EVM8OIK7TdI6PG bA+zbyJiJ5qkMzmotZ3NHIpcWct9nViYVxlWtntY+t0vGRhilIZ4ZJIeFcqw9D+VCgh5 uG8w== 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=1wzi0YCuk4M43f0eeKNCr4jibC9U2+4IeERPrxFjMLM=; b=RCIc2i4uFx4YkXhn2gQoFjh3LfG3NchbuhUK/+dAPs6zvpXBrSJ07qVGtoDt4kCABN gADSYoYxb2ZgQ30fGa3KdkgriioRlSDJ4K8Qav9zyFjb5rmWTdYZelj178Kf+YFrzHaB gxx2fCKxqvTU/TJ7iB2ULQbNkEFxgQf3bz+c8pAjxbn0CUwr80W1HGhVh3wPhGswfBYV nWeMBeOfNXEdOJJkA/BD38LojqX1Y4VkZoBE97hS4QcKWf5MQIIYBA+S+kiyHEwn/a7I fRfOA0uxzGHqZ4oqAERdbMWX3TNStkcUxWPBqdMmBzzBzvB8ySHDkhK/GWknq4N2Abpc t4Ug== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@walle.cc header.s=mail2016061301 header.b=XmeMclt8; 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 hs7si1928140ejc.147.2021.02.10.08.52.40; Wed, 10 Feb 2021 08:53:04 -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=XmeMclt8; 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 S233122AbhBJQua (ORCPT + 99 others); Wed, 10 Feb 2021 11:50:30 -0500 Received: from ssl.serverraum.org ([176.9.125.105]:44189 "EHLO ssl.serverraum.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232392AbhBJQsn (ORCPT ); Wed, 10 Feb 2021 11:48:43 -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 47BD923E73; Wed, 10 Feb 2021 17:47:58 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=walle.cc; s=mail2016061301; t=1612975678; 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=1wzi0YCuk4M43f0eeKNCr4jibC9U2+4IeERPrxFjMLM=; b=XmeMclt8sxLeKiRnXpR155he6qBI1dFyE2YbbpdptSKw0vPSQN4qPr2CoHYy7+3tO3oUcD MdmBFuz+mtGTl/dDphX2AEfHwuE8XJBu1uJHplDdhjiFir6HULkkeHU/cd5FrIuOBmAWdy Xd6cqds8L28R4N3CKsmSBZHRNFqM40I= 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 v2 3/9] net: phy: icplus: drop address operator for functions Date: Wed, 10 Feb 2021 17:47:40 +0100 Message-Id: <20210210164746.26336-4-michael@walle.cc> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210210164746.26336-1-michael@walle.cc> References: <20210210164746.26336-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 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