summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorRobert P. J. Day <rpjday@crashcourse.ca>2018-12-27 22:10:59 +0100
committerDavid S. Miller <davem@davemloft.net>2018-12-28 01:31:10 +0100
commita3c9311f62b4943228ae90f769775dd3bcbfa7c0 (patch)
tree44d09f75ec4a490c4c6e824200ccd8f7ad56b3b4 /include
parentphy.h: fix obvious errors in doc and kerneldoc content (diff)
downloadlinux-a3c9311f62b4943228ae90f769775dd3bcbfa7c0.tar.xz
linux-a3c9311f62b4943228ae90f769775dd3bcbfa7c0.zip
include/linux/phy/phy.h: fix minor kerneldoc errors
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 <rpjday@crashcourse.ca> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r--include/linux/phy/phy.h2
1 files changed, 1 insertions, 1 deletions
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