diff mbox series

[v3,07/10] ethdev: fix EEPROM spelling

Message ID 20211020124727.2829268-8-andrew.rybchenko@oktetlabs.ru (mailing list archive)
State Accepted, archived
Delegated to: Ferruh Yigit
Headers show
Series ethdev: cosmetic fixes | expand

Checks

Context Check Description
ci/checkpatch warning coding style issues

Commit Message

Andrew Rybchenko Oct. 20, 2021, 12:47 p.m. UTC
Signed-off-by: Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>
---
 lib/ethdev/ethdev_driver.h | 20 ++++++++++----------
 lib/ethdev/rte_dev_info.h  | 14 +++++++-------
 2 files changed, 17 insertions(+), 17 deletions(-)
diff mbox series

Patch

diff --git a/lib/ethdev/ethdev_driver.h b/lib/ethdev/ethdev_driver.h
index 6b01ea829d..1dcd0392cc 100644
--- a/lib/ethdev/ethdev_driver.h
+++ b/lib/ethdev/ethdev_driver.h
@@ -625,22 +625,22 @@  typedef int (*eth_read_clock)(struct rte_eth_dev *dev,
 typedef int (*eth_get_reg_t)(struct rte_eth_dev *dev,
 				struct rte_dev_reg_info *info);
 
-/** @internal Retrieve eeprom size. */
+/** @internal Retrieve EEPROM size. */
 typedef int (*eth_get_eeprom_length_t)(struct rte_eth_dev *dev);
 
-/** @internal Retrieve eeprom data. */
+/** @internal Retrieve EEPROM data. */
 typedef int (*eth_get_eeprom_t)(struct rte_eth_dev *dev,
 				struct rte_dev_eeprom_info *info);
 
-/** @internal Program eeprom data. */
+/** @internal Program EEPROM data. */
 typedef int (*eth_set_eeprom_t)(struct rte_eth_dev *dev,
 				struct rte_dev_eeprom_info *info);
 
-/** @internal Retrieve type and size of plugin module eeprom. */
+/** @internal Retrieve type and size of plugin module EEPROM. */
 typedef int (*eth_get_module_info_t)(struct rte_eth_dev *dev,
 				     struct rte_eth_dev_module_info *modinfo);
 
-/** @internal Retrieve plugin module eeprom data. */
+/** @internal Retrieve plugin module EEPROM data. */
 typedef int (*eth_get_module_eeprom_t)(struct rte_eth_dev *dev,
 				       struct rte_dev_eeprom_info *info);
 
@@ -1098,13 +1098,13 @@  struct eth_dev_ops {
 	reta_query_t               reta_query;
 
 	eth_get_reg_t              get_reg;           /**< Get registers. */
-	eth_get_eeprom_length_t    get_eeprom_length; /**< Get eeprom length. */
-	eth_get_eeprom_t           get_eeprom;        /**< Get eeprom data. */
-	eth_set_eeprom_t           set_eeprom;        /**< Set eeprom. */
+	eth_get_eeprom_length_t    get_eeprom_length; /**< Get EEPROM length. */
+	eth_get_eeprom_t           get_eeprom;        /**< Get EEPROM data. */
+	eth_set_eeprom_t           set_eeprom;        /**< Set EEPROM. */
 
-	/** Get plugin module eeprom attribute */
+	/** Get plugin module EEPROM attribute */
 	eth_get_module_info_t      get_module_info;
-	/** Get plugin module eeprom data */
+	/** Get plugin module EEPROM data */
 	eth_get_module_eeprom_t    get_module_eeprom;
 
 	eth_flow_ops_get_t         flow_ops_get; /**< Get flow operations. */
diff --git a/lib/ethdev/rte_dev_info.h b/lib/ethdev/rte_dev_info.h
index 7a6b61fdb7..cb2fe0ae97 100644
--- a/lib/ethdev/rte_dev_info.h
+++ b/lib/ethdev/rte_dev_info.h
@@ -19,21 +19,21 @@  struct rte_dev_reg_info {
 };
 
 /*
- * Placeholder for accessing device eeprom
+ * Placeholder for accessing device EEPROM
  */
 struct rte_dev_eeprom_info {
-	void *data; /**< Buffer for return eeprom */
-	uint32_t offset; /**< Start eeprom address for access*/
-	uint32_t length; /**< Length of eeprom region to access */
+	void *data; /**< Buffer for return EEPROM */
+	uint32_t offset; /**< Start EEPROM address for access*/
+	uint32_t length; /**< Length of EEPROM region to access */
 	uint32_t magic; /**< Device-specific key, such as device-id */
 };
 
 /**
- * Placeholder for accessing plugin module eeprom
+ * Placeholder for accessing plugin module EEPROM
  */
 struct rte_eth_dev_module_info {
-	uint32_t type; /**< Type of plugin module eeprom */
-	uint32_t eeprom_len; /**< Length of plugin module eeprom */
+	uint32_t type; /**< Type of plugin module EEPROM */
+	uint32_t eeprom_len; /**< Length of plugin module EEPROM */
 };
 
 /* EEPROM Standards for plug in modules */