summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorVadim Pasternak <vadimp@nvidia.com>2025-04-12 12:18:37 +0300
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>2025-04-15 17:14:30 +0300
commit981527828c301644bc4014faa9c523e8a5e32a32 (patch)
tree275f440b8187decbbae52a7b99571077d4925b6f /include
parent8c173c39e3474c816bc5e9bb2124e2318a7aad4b (diff)
platform/mellanox: Rename field to improve code readability
Rename field 'counter' in 'mlxreg_core_hotplug_platform_data' to count. Signed-off-by: Vadim Pasternak <vadimp@nvidia.com> Link: https://lore.kernel.org/r/20250412091843.33943-2-vadimp@nvidia.com Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/platform_data/mlxreg.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/platform_data/mlxreg.h b/include/linux/platform_data/mlxreg.h
index 0b9f81a6f753..f6cca7a035c7 100644
--- a/include/linux/platform_data/mlxreg.h
+++ b/include/linux/platform_data/mlxreg.h
@@ -209,7 +209,7 @@ struct mlxreg_core_platform_data {
* @items: same type components with the hotplug capability;
* @irq: platform interrupt number;
* @regmap: register map of parent device;
- * @counter: number of the components with the hotplug capability;
+ * @count: number of the components with the hotplug capability;
* @cell: location of top aggregation interrupt register;
* @mask: top aggregation interrupt common mask;
* @cell_low: location of low aggregation interrupt register;
@@ -224,7 +224,7 @@ struct mlxreg_core_hotplug_platform_data {
struct mlxreg_core_item *items;
int irq;
void *regmap;
- int counter;
+ int count;
u32 cell;
u32 mask;
u32 cell_low;