platform: mellanox: Rename some init()/exit() functions for consistent naming
authorVadim Pasternak <vadimp@nvidia.com>
Thu, 5 Oct 2023 07:56:16 +0000 (07:56 +0000)
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Fri, 6 Oct 2023 14:40:15 +0000 (17:40 +0300)
commitb26bcdd5f03e0b9fdd5dd8567b620538c5058c54
tree09cb765a394bd020061703355a3e63d28ceafabb
parent7ec4cd3c1a12dc08c60d5e376c2c05aae23f1e41
platform: mellanox: Rename some init()/exit() functions for consistent naming

Currently some names of init()/exit() pairing function are not
consistent.

Rename pair mlxplat_pre_init()/mlxplat_post_exit() to respectively
mlxplat_logicdev_init()/mlxplat_logicdev_exit().

Rename pair mlxplat_post_init()/mlxplat_pre_exit() to respectively
mlxplat_platdevs_init()/mlxplat_platdevs_exit().

Signed-off-by: Vadim Pasternak <vadimp@nvidia.com>
Link: https://lore.kernel.org/r/20231005075616.42777-4-vadimp@nvidia.com
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
drivers/platform/x86/mlx-platform.c