From patchwork Tue Mar 14 12:48:56 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wolfram Sang X-Patchwork-Id: 69629 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp1764286wrd; Tue, 14 Mar 2023 06:40:33 -0700 (PDT) X-Google-Smtp-Source: AK7set+DETbiYxLNghHO0Sh3JezoeNuBM5M6UVc59ht3V+8NtXa/TfQaTYRtvzVJSrfNbGa6dS8y X-Received: by 2002:a17:902:e846:b0:1a0:6f79:b98b with SMTP id t6-20020a170902e84600b001a06f79b98bmr1187873plg.19.1678801232871; Tue, 14 Mar 2023 06:40:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1678801232; cv=none; d=google.com; s=arc-20160816; b=0IxiXvcWvdQaWgXzmmHJdP22Nopeec2ol6bDWjIAOiILrSsXau962Zdnk0pndj9+mu SM2d7IMkNVkYPXLv4UOSdyessZk2tU42KfJGqhLhLx3WA8MQnSiabv28ctDQyDznuzNH LJLxsicfjXwRcXQlZISh0iLeqozPiN01hFwNJy45xJq/m0YgHzbBcbVtv2YFWXKjznK2 LA9isdSYkjVDzbBRxgfRWHCgFsvXnZtIux7/wi2EwTd1/DO+hgnooyuxUS8Ihw6oJgkN qWpCtQb4tHFTxaVXjyi+TgaSagtvLjtslHO7K+0UZ7nZ4ey3jXLcORCn2WjOyh9PxODm luag== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=LfDBSpWUpB8/waitZcFp674mgiw3D5eRmyNPnH3n3bY=; b=iRllYD32uvu37ry9zDXHPGicFP5CHvE3LzjETk3wB38MtScYj5tQPIE3QVf28P0EKy +4yJGjfR6+mWgoxlhsAYlHBi+2eEwY7deGWjyG9OVF1oKjxtnA4zxd70Hz4mgo3comSj NoUfP92DgiQqs3ebxqs6Ct8wrZwis8qSCj+ieNv7Jb1sNaH5otiYQh786IlJMdRpknfo Lc26AC6xfdeOwysZIdWLNnCnl8VJ22f2j5DV7Jkk4/hzl/mblsg2Sror7pdRnOEJpvr8 cG0mlMP3R+ib4k5QFaiWudTk/EYuf0JJK4iIhUQb2wiKBtpbK1dQXnF6DwjVnZRc8vrV l6BQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail (test mode) header.i=@sang-engineering.com header.s=k1 header.b=skYzw9ae; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j2-20020a17090276c200b001a05d8436d8si2385045plt.475.2023.03.14.06.40.15; Tue, 14 Mar 2023 06:40:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=fail (test mode) header.i=@sang-engineering.com header.s=k1 header.b=skYzw9ae; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232417AbjCNNNL (ORCPT + 99 others); Tue, 14 Mar 2023 09:13:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37476 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231705AbjCNNMr (ORCPT ); Tue, 14 Mar 2023 09:12:47 -0400 Received: from mail.zeus03.de (www.zeus03.de [194.117.254.33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 502D122A03 for ; Tue, 14 Mar 2023 06:09:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple; d=sang-engineering.com; h= from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; s=k1; bh=chZ0p5pooJS4l4YVMMk5XQCw6WQ YkRgYzRIcOGy//iI=; b=skYzw9ae+naIVGKOtiCxPExRevoCb639GcELbkWhjEq iyQgI1IohL0zZYkNCoEsMiAAlI8UCETPR4aTqMvjhLBdN68cls6j77fcU3hb+JHa kQOH2foqvl7cxQQ8IVY+T10liSWGJSyMnuIl5IjCNjueyW2AerZSgyjIAcTIzrb8 = Received: (qmail 3103630 invoked from network); 14 Mar 2023 13:48:58 +0100 Received: by mail.zeus03.de with ESMTPSA (TLS_AES_256_GCM_SHA384 encrypted, authenticated); 14 Mar 2023 13:48:58 +0100 X-UD-Smtp-Session: l3s3148p1@5Cawptv2pOwujnvb From: Wolfram Sang To: netdev@vger.kernel.org Cc: linux-renesas-soc@vger.kernel.org, Wolfram Sang , Heiner Kallweit , Andrew Lunn , Russell King , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , linux-kernel@vger.kernel.org Subject: [RESEND net-next] net: phy: update obsolete comment about PHY_STARTING Date: Tue, 14 Mar 2023 13:48:56 +0100 Message-Id: <20230314124856.44878-1-wsa+renesas@sang-engineering.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FORGED_SPF_HELO, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_NONE, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1760350681550721591?= X-GMAIL-MSGID: =?utf-8?q?1760350681550721591?= Commit 899a3cbbf77a ("net: phy: remove states PHY_STARTING and PHY_PENDING") missed to update a comment in phy_probe. Remove superfluous "Description:" prefix while we are here. Signed-off-by: Wolfram Sang Reviewed-by: Heiner Kallweit --- Only tag added since last time. drivers/net/phy/phy_device.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/net/phy/phy_device.c b/drivers/net/phy/phy_device.c index 1785f1cead97..c0760cbf534b 100644 --- a/drivers/net/phy/phy_device.c +++ b/drivers/net/phy/phy_device.c @@ -3076,9 +3076,7 @@ EXPORT_SYMBOL_GPL(fwnode_get_phy_node); * phy_probe - probe and init a PHY device * @dev: device to probe and init * - * Description: Take care of setting up the phy_device structure, - * set the state to READY (the driver's init function should - * set it to STARTING if needed). + * Take care of setting up the phy_device structure, set the state to READY. */ static int phy_probe(struct device *dev) {