2019-08-10 11:14:17

by J. Neuschäfer

[permalink] [raw]
Subject: [PATCH] net: nps_enet: Fix function names in doc comments

Adjust the function names in two doc comments to match the corresponding
functions.

Signed-off-by: Jonathan Neuschäfer <[email protected]>
---
drivers/net/ethernet/ezchip/nps_enet.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/net/ethernet/ezchip/nps_enet.h b/drivers/net/ethernet/ezchip/nps_enet.h
index 133acca0bf31..092da2d90026 100644
--- a/drivers/net/ethernet/ezchip/nps_enet.h
+++ b/drivers/net/ethernet/ezchip/nps_enet.h
@@ -167,7 +167,7 @@ struct nps_enet_priv {
};

/**
- * nps_reg_set - Sets ENET register with provided value.
+ * nps_enet_reg_set - Sets ENET register with provided value.
* @priv: Pointer to EZchip ENET private data structure.
* @reg: Register offset from base address.
* @value: Value to set in register.
@@ -179,7 +179,7 @@ static inline void nps_enet_reg_set(struct nps_enet_priv *priv,
}

/**
- * nps_reg_get - Gets value of specified ENET register.
+ * nps_enet_reg_get - Gets value of specified ENET register.
* @priv: Pointer to EZchip ENET private data structure.
* @reg: Register offset from base address.
*
--
2.20.1


2019-08-12 04:33:38

by David Miller

[permalink] [raw]
Subject: Re: [PATCH] net: nps_enet: Fix function names in doc comments

From: Jonathan Neusch?fer <[email protected]>
Date: Sat, 10 Aug 2019 13:11:56 +0200

> Adjust the function names in two doc comments to match the corresponding
> functions.
>
> Signed-off-by: Jonathan Neusch?fer <[email protected]>

Applied.