From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Robert P. J. Day" Subject: [PATCH] include/linux/phy/phy.h: fix minor kerneldoc errors Date: Thu, 27 Dec 2018 16:10:59 -0500 (EST) Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII To: Linux kernel netdev mailing list Return-path: Received: from cpanel4.indieserve.net ([199.212.143.9]:44774 "EHLO cpanel4.indieserve.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727975AbeL0VLl (ORCPT ); Thu, 27 Dec 2018 16:11:41 -0500 Received: from cpef81d0f814063-cmf81d0f814060.cpe.net.cable.rogers.com ([174.114.57.56]:55746 helo=localhost.localdomain) by cpanel4.indieserve.net with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.91) (envelope-from ) id 1gccwM-007wu1-SJ for netdev@vger.kernel.org; Thu, 27 Dec 2018 16:11:39 -0500 Sender: netdev-owner@vger.kernel.org List-ID: Correct two minor kerneldoc errors: 1) missing reference to @mode in struct phy_ops 2) obsolete reference to @init_data in struct_phy_attrs, removed in dbc98635e0d42f0e62ea92813df1e0e4c90f8375 Signed-off-by: Robert P. J. Day --- AFAICT, none of this is actually included in the current sphinx-based kerneldoc generation, but in preparation for it someday being included, might as well make sure it's correct. diff --git a/include/linux/phy/phy.h b/include/linux/phy/phy.h index 03b319f89a34..66d1560f1a26 100644 --- a/include/linux/phy/phy.h +++ b/include/linux/phy/phy.h @@ -69,6 +69,7 @@ struct phy_ops { /** * struct phy_attrs - represents phy attributes * @bus_width: Data path width implemented by PHY + * @mode: PHY mode */ struct phy_attrs { u32 bus_width; @@ -80,7 +81,6 @@ struct phy_attrs { * @dev: phy device * @id: id of the phy device * @ops: function pointers for performing phy operations - * @init_data: list of PHY consumers (non-dt only) * @mutex: mutex to protect phy_ops * @init_count: used to protect when the PHY is used by multiple consumers * @power_count: used to protect when the PHY is used by multiple consumers -- ======================================================================== Robert P. J. Day Ottawa, Ontario, CANADA http://crashcourse.ca/dokuwiki Twitter: http://twitter.com/rpjday LinkedIn: http://ca.linkedin.com/in/rpjday ========================================================================