mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-03-17 20:54:10 +00:00
phy: core: Update documentation syntax
Update the syntax used by the documentation of phy operation functions. This is to unify the syntax with the newly added documentation. Signed-off-by: Jules Maselbas <jmaselbas@kalray.eu> Link: https://lore.kernel.org/r/20220407102108.24211-3-jmaselbas@kalray.eu Signed-off-by: Vinod Koul <vkoul@kernel.org>
This commit is contained in:
parent
f1b8d3358a
commit
bd5bd02e15
1 changed files with 3 additions and 3 deletions
|
@ -467,7 +467,7 @@ EXPORT_SYMBOL_GPL(phy_reset);
|
||||||
* runtime, which are otherwise lost after host controller reset and cannot
|
* runtime, which are otherwise lost after host controller reset and cannot
|
||||||
* be applied in phy_init() or phy_power_on().
|
* be applied in phy_init() or phy_power_on().
|
||||||
*
|
*
|
||||||
* Returns: 0 if successful, an negative error code otherwise
|
* Return: %0 if successful, a negative error code otherwise
|
||||||
*/
|
*/
|
||||||
int phy_calibrate(struct phy *phy)
|
int phy_calibrate(struct phy *phy)
|
||||||
{
|
{
|
||||||
|
@ -493,7 +493,7 @@ EXPORT_SYMBOL_GPL(phy_calibrate);
|
||||||
* on the phy. The configuration will be applied on the current phy
|
* on the phy. The configuration will be applied on the current phy
|
||||||
* mode, that can be changed using phy_set_mode().
|
* mode, that can be changed using phy_set_mode().
|
||||||
*
|
*
|
||||||
* Returns: 0 if successful, an negative error code otherwise
|
* Return: %0 if successful, a negative error code otherwise
|
||||||
*/
|
*/
|
||||||
int phy_configure(struct phy *phy, union phy_configure_opts *opts)
|
int phy_configure(struct phy *phy, union phy_configure_opts *opts)
|
||||||
{
|
{
|
||||||
|
@ -527,7 +527,7 @@ EXPORT_SYMBOL_GPL(phy_configure);
|
||||||
* PHY, so calling it as many times as deemed fit will have no side
|
* PHY, so calling it as many times as deemed fit will have no side
|
||||||
* effect.
|
* effect.
|
||||||
*
|
*
|
||||||
* Returns: 0 if successful, an negative error code otherwise
|
* Return: %0 if successful, a negative error code otherwise
|
||||||
*/
|
*/
|
||||||
int phy_validate(struct phy *phy, enum phy_mode mode, int submode,
|
int phy_validate(struct phy *phy, enum phy_mode mode, int submode,
|
||||||
union phy_configure_opts *opts)
|
union phy_configure_opts *opts)
|
||||||
|
|
Loading…
Add table
Reference in a new issue