Skip to content

Commit

Permalink
include/linux/phy/phy.h: fix minor kerneldoc errors
Browse files Browse the repository at this point in the history
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 dbc9863

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
rpjday authored and davem330 committed Dec 28, 2018
1 parent d8de01b commit a3c9311
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/linux/phy/phy.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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
Expand Down

0 comments on commit a3c9311

Please sign in to comment.