From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 44C319446 for ; Sun, 13 Aug 2023 21:41:39 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 80DFCC433C8; Sun, 13 Aug 2023 21:41:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1691962898; bh=qfWiR1Sh5nVMaXTp90bFRDWFlk/45eMnGQpkaD1Rbjo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=PU2tz6CN9kh6i9p63+wOv8jJ5tQkNwvQBXyX53HnHgkML7mxZEAiCSUygy/Apt7ZT X1LXZLLkXmEi8YTVgkZo+usLGwhI1/Ynhs+Ymm7TFSb48rS6i1KaD2hJZNvBll5+XO swl0wwEW2vYcc436+Q0vioxuCMU9+jdPKWW2U2G4= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Li Yang , David Bauer , "David S. Miller" Subject: [PATCH 5.10 47/68] net: phy: at803x: remove set/get wol callbacks for AR8032 Date: Sun, 13 Aug 2023 23:19:48 +0200 Message-ID: <20230813211709.583129963@linuxfoundation.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230813211708.149630011@linuxfoundation.org> References: <20230813211708.149630011@linuxfoundation.org> User-Agent: quilt/0.67 Precedence: bulk X-Mailing-List: patches@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From: Li Yang commit d7791cec2304aea22eb2ada944e4d467302f5bfe upstream. Since the AR8032 part does not support wol, remove related callbacks from it. Fixes: 5800091a2061 ("net: phy: at803x: add support for AR8032 PHY") Signed-off-by: Li Yang Cc: David Bauer Signed-off-by: David S. Miller Signed-off-by: Greg Kroah-Hartman --- drivers/net/phy/at803x.c | 2 -- 1 file changed, 2 deletions(-) --- a/drivers/net/phy/at803x.c +++ b/drivers/net/phy/at803x.c @@ -1115,8 +1115,6 @@ static struct phy_driver at803x_driver[] .flags = PHY_POLL_CABLE_TEST, .config_init = at803x_config_init, .link_change_notify = at803x_link_change_notify, - .set_wol = at803x_set_wol, - .get_wol = at803x_get_wol, .suspend = at803x_suspend, .resume = at803x_resume, /* PHY_BASIC_FEATURES */