From patchwork Wed Nov 6 22:36:17 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Walle X-Patchwork-Id: 1190740 X-Patchwork-Delegate: davem@davemloft.net Return-Path: X-Original-To: patchwork-incoming-netdev@ozlabs.org Delivered-To: patchwork-incoming-netdev@ozlabs.org Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=netdev-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=walle.cc Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=walle.cc header.i=@walle.cc header.b="PmCk1vAn"; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 477hHF2YzXz9sP7 for ; Thu, 7 Nov 2019 09:37:13 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732851AbfKFWhB (ORCPT ); Wed, 6 Nov 2019 17:37:01 -0500 Received: from ssl.serverraum.org ([176.9.125.105]:54219 "EHLO ssl.serverraum.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732666AbfKFWg7 (ORCPT ); Wed, 6 Nov 2019 17:36:59 -0500 Received: from apollo.fritz.box (unknown [IPv6:2a02:810c:c200:2e91:6257:18ff:fec4:ca34]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by ssl.serverraum.org (Postfix) with ESMTPSA id EF59A23E4D; Wed, 6 Nov 2019 23:36:57 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=walle.cc; s=mail2016061301; t=1573079818; bh=Y+C2JFik0SuaDLpIqi9+CLYF43yMTrkGy5sCVB6l4Og=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=PmCk1vAne199FyMkya45OUNfY6OEKMuPSfXsxcOnI3K2HGWhsmo4aDDpQKETYzpHx +lukrRcHw3K3RIuDbCLUpbhFNvbw+f+oszUERR6EJvqfKJudZ+sNy3MbIlZ1VYRu2T Gw0uAXVBX4tdrusC+KxMx12y6iRPILvngIyIBoW4= From: Michael Walle To: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, netdev@vger.kernel.org Cc: Rob Herring , David Miller , Florian Fainelli , Simon Horman , Andrew Lunn , Oleksij Rempel , Michael Walle Subject: [PATCH v2 6/6] net: phy: at803x: remove config_init for AR9331 Date: Wed, 6 Nov 2019 23:36:17 +0100 Message-Id: <20191106223617.1655-7-michael@walle.cc> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20191106223617.1655-1-michael@walle.cc> References: <20191106223617.1655-1-michael@walle.cc> MIME-Version: 1.0 X-Virus-Scanned: clamav-milter 0.101.4 at web X-Virus-Status: Clean Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org According to its datasheet, the internal PHY doesn't have debug registers nor MMDs. Since config_init() only configures delays and clocks and so on in these registers it won't be needed on this PHY. Remove it. Signed-off-by: Michael Walle Reviewed-by: Andrew Lunn --- drivers/net/phy/at803x.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/net/phy/at803x.c b/drivers/net/phy/at803x.c index 4434d501cd4f..aee62610bade 100644 --- a/drivers/net/phy/at803x.c +++ b/drivers/net/phy/at803x.c @@ -755,8 +755,6 @@ static struct phy_driver at803x_driver[] = { /* ATHEROS AR9331 */ PHY_ID_MATCH_EXACT(ATH9331_PHY_ID), .name = "Qualcomm Atheros AR9331 built-in PHY", - .probe = at803x_probe, - .config_init = at803x_config_init, .suspend = at803x_suspend, .resume = at803x_resume, /* PHY_BASIC_FEATURES */