Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp633615pxb; Tue, 9 Feb 2021 08:45:29 -0800 (PST) X-Google-Smtp-Source: ABdhPJzhMb7Mf5Pf3ZDbtMY3OvcYjO8DqCbRtXU/GB1TxMi2W7AwalcUgm7zI/rjisvorrGgNR11 X-Received: by 2002:a17:906:c413:: with SMTP id u19mr23250099ejz.147.1612889129415; Tue, 09 Feb 2021 08:45:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612889129; cv=none; d=google.com; s=arc-20160816; b=DUneA6f8BneSCPXi70oWp94BRb3nJTRBAkd5OTzF9o3mVHDsii5RGTAhh47hbK5aNf cr5GNYDZ6+Hw0sOvsQYDHYiQ3o/Y4zggtIqNZBKHHFVIoHFjH9xKfuxOSplcxDLsZGcC nGxHQmjf7De7zoqSUxqPTPSPeAuSrRPhtdADgw6xxhu7QbyA06WEJ5JgUgidpgM6k1os Cy/TPAy8QUBL3rtNGepw3kQI7MkQ0y+XRde5ImFOs6AObHQ1uAykWNzqEZR6mdhcmD6V dmPdKaHWT3+1fZBmc1PyEvRYZ7uMSsiAxGpwiOL1oFB1hcZ3odA7fG6qrC7Rhhfnqov8 mkYg== 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=ggXo6TMoWYrrwtJbj3OGZvRr/reK/ZIs82Ig8HOKQc4=; b=h4ajiKxdmZngM5m6KF++aeXqtoJuWnGHqChesxEOSJHz/s+oNpAMGNL/VtTZedk5PP /+icWLWLNqCYMOhkgQobLBKa88pGnVN5nZ5c4WgGekx8kQC9IrWqonOZ5IUuvevxC6Qk iEfq5w1SIgJaZWzt+2LouA0GhmkPAP2XRYnOIkxxSud4Vh2S9aWbGFpMTn1JaLQ8Xrou teDRZmdzrUh0CrHS45UaL+fXUKAT1xIyd3RX0Wx1Kd8z2Abbkl+UyoXOsk3bBdVZ1tae G9sJx9OgQvDMRjsdwJI0Pwohj/GQQGWMRIQD2BOi30d+9jbfVHWXWKSY4cYw+CUV7Wl+ 4rmw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@walle.cc header.s=mail2016061301 header.b=TsDcQm69; 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 a8si7719102ejt.133.2021.02.09.08.45.04; Tue, 09 Feb 2021 08:45:29 -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=TsDcQm69; 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 S233093AbhBIQmy (ORCPT + 99 others); Tue, 9 Feb 2021 11:42:54 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41808 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232995AbhBIQlq (ORCPT ); Tue, 9 Feb 2021 11:41:46 -0500 Received: from ssl.serverraum.org (ssl.serverraum.org [IPv6:2a01:4f8:151:8464::1:2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2998AC061574; Tue, 9 Feb 2021 08:41:06 -0800 (PST) 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 ADEC223E6D; Tue, 9 Feb 2021 17:40:58 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=walle.cc; s=mail2016061301; t=1612888858; 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=ggXo6TMoWYrrwtJbj3OGZvRr/reK/ZIs82Ig8HOKQc4=; b=TsDcQm697XQubGHMpWdS3eF/EurjUfHqboYsFbhwbAYgay5orcsmeOuvR1p1MU7oizHqL5 6WEX5Emw5O5dwvXELAjGuBYblCsFrl01smn6PGP/XTQGGp/hMb8Zupfx6Hhw1EjzR6Vql8 hZu0oRn42/IfahQ0XFm0DQS96pLZ0YQ= 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 3/9] net: phy: icplus: drop address operator for functions Date: Tue, 9 Feb 2021 17:40:45 +0100 Message-Id: <20210209164051.18156-4-michael@walle.cc> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210209164051.18156-1-michael@walle.cc> References: <20210209164051.18156-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 --- 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