Skip to content

Commit 8634c11

Browse files
vadimp-nvidiaij-intel
authored andcommitted
platform: mellanox: Fix misspelling error in routine name
Change mlxplat_i2c_main_complition_notify() to mlxplat_i2c_main_completion_notify(). Signed-off-by: Vadim Pasternak <vadimp@nvidia.com> Link: https://lore.kernel.org/r/20231005075616.42777-3-vadimp@nvidia.com Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
1 parent b26bcdd commit 8634c11

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

drivers/platform/x86/mlx-platform.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,7 @@ struct mlxplat_priv {
368368
};
369369

370370
static struct platform_device *mlxplat_dev;
371-
static int mlxplat_i2c_main_complition_notify(void *handle, int id);
371+
static int mlxplat_i2c_main_completion_notify(void *handle, int id);
372372
static void __iomem *i2c_bridge_addr, *jtag_bridge_addr;
373373

374374
/* Regions for LPC I2C controller and LPC base register space */
@@ -384,7 +384,7 @@ static const struct resource mlxplat_lpc_resources[] = {
384384

385385
/* Platform systems default i2c data */
386386
static struct mlxreg_core_hotplug_platform_data mlxplat_mlxcpld_i2c_default_data = {
387-
.completion_notify = mlxplat_i2c_main_complition_notify,
387+
.completion_notify = mlxplat_i2c_main_completion_notify,
388388
};
389389

390390
/* Platform i2c next generation systems data */
@@ -409,7 +409,7 @@ static struct mlxreg_core_hotplug_platform_data mlxplat_mlxcpld_i2c_ng_data = {
409409
.mask = MLXPLAT_CPLD_AGGR_MASK_COMEX,
410410
.cell_low = MLXPLAT_CPLD_LPC_REG_AGGRCO_OFFSET,
411411
.mask_low = MLXPLAT_CPLD_LOW_AGGR_MASK_I2C,
412-
.completion_notify = mlxplat_i2c_main_complition_notify,
412+
.completion_notify = mlxplat_i2c_main_completion_notify,
413413
};
414414

415415
/* Platform default channels */
@@ -6471,7 +6471,7 @@ static void mlxplat_i2c_mux_topology_exit(struct mlxplat_priv *priv)
64716471
}
64726472
}
64736473

6474-
static int mlxplat_i2c_main_complition_notify(void *handle, int id)
6474+
static int mlxplat_i2c_main_completion_notify(void *handle, int id)
64756475
{
64766476
struct mlxplat_priv *priv = handle;
64776477

0 commit comments

Comments
 (0)