Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

phy: fix structure documentation

Add missing documentation of structure members and
modify the order of documentation to match that of
the structure declaration.

Signed-off-by: Dov Levenglick <dov.levenglick@gmail.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>

authored by

Dov Levenglick and committed by
Kishon Vijay Abraham I
becaf17a 95cc6e72

+11 -2
+11 -2
include/linux/phy/phy.h
··· 81 81 * @mutex: mutex to protect phy_ops 82 82 * @init_count: used to protect when the PHY is used by multiple consumers 83 83 * @power_count: used to protect when the PHY is used by multiple consumers 84 - * @phy_attrs: used to specify PHY specific attributes 84 + * @attrs: used to specify PHY specific attributes 85 + * @pwr: power regulator associated with the phy 85 86 */ 86 87 struct phy { 87 88 struct device dev; ··· 98 97 /** 99 98 * struct phy_provider - represents the phy provider 100 99 * @dev: phy provider device 100 + * @children: can be used to override the default (dev->of_node) child node 101 101 * @owner: the module owner having of_xlate 102 - * @of_xlate: function pointer to obtain phy instance from phy pointer 103 102 * @list: to maintain a linked list of PHY providers 103 + * @of_xlate: function pointer to obtain phy instance from phy pointer 104 104 */ 105 105 struct phy_provider { 106 106 struct device *dev; ··· 112 110 struct of_phandle_args *args); 113 111 }; 114 112 113 + /** 114 + * struct phy_lookup - PHY association in list of phys managed by the phy driver 115 + * @node: list node 116 + * @dev_id: the device of the association 117 + * @con_id: connection ID string on device 118 + * @phy: the phy of the association 119 + */ 115 120 struct phy_lookup { 116 121 struct list_head node; 117 122 const char *dev_id;