mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-04-08 16:25:44 -04:00
platform: mellanox: mlx-platform: Cosmetic changes
Remove redundant spaces. Reviewed-by: Felix Radensky <fradensky@nvidia.com> Signed-off-by: Vadim Pasternak <vadimp@nvidia.com> Link: https://lore.kernel.org/r/20250124172632.22437-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>
This commit is contained in:
committed by
Ilpo Järvinen
parent
8c03f64d1d
commit
749d3e00ec
@@ -2247,7 +2247,7 @@ struct mlxreg_core_hotplug_platform_data mlxplat_mlxcpld_modular_data = {
|
||||
.mask_low = MLXPLAT_CPLD_LOW_AGGR_MASK_LOW,
|
||||
};
|
||||
|
||||
/* Platform hotplug for NVLink blade systems family data */
|
||||
/* Platform hotplug for NVLink blade systems family data */
|
||||
static struct mlxreg_core_data mlxplat_mlxcpld_global_wp_items_data[] = {
|
||||
{
|
||||
.label = "global_wp_grant",
|
||||
@@ -2279,7 +2279,7 @@ struct mlxreg_core_hotplug_platform_data mlxplat_mlxcpld_chassis_blade_data = {
|
||||
.mask_low = MLXPLAT_CPLD_LOW_AGGR_MASK_LOW,
|
||||
};
|
||||
|
||||
/* Platform hotplug for switch systems family data */
|
||||
/* Platform hotplug for switch systems family data */
|
||||
static struct mlxreg_core_data mlxplat_mlxcpld_erot_ap_items_data[] = {
|
||||
{
|
||||
.label = "erot1_ap",
|
||||
@@ -2387,7 +2387,7 @@ static struct mlxreg_core_hotplug_notifier mlxplat_mlxcpld_l1_switch_pwr_events_
|
||||
.user_handler = mlxplat_mlxcpld_l1_switch_pwr_events_handler,
|
||||
};
|
||||
|
||||
/* Platform hotplug for l1 switch systems family data */
|
||||
/* Platform hotplug for l1 switch systems family data */
|
||||
static struct mlxreg_core_data mlxplat_mlxcpld_l1_switch_pwr_events_items_data[] = {
|
||||
{
|
||||
.label = "power_button",
|
||||
@@ -4401,7 +4401,7 @@ static struct mlxreg_core_platform_data mlxplat_modular_regs_io_data = {
|
||||
.counter = ARRAY_SIZE(mlxplat_mlxcpld_modular_regs_io_data),
|
||||
};
|
||||
|
||||
/* Platform register access for chassis blade systems family data */
|
||||
/* Platform register access for chassis blade systems family data */
|
||||
static struct mlxreg_core_data mlxplat_mlxcpld_chassis_blade_regs_io_data[] = {
|
||||
{
|
||||
.label = "cpld1_version",
|
||||
@@ -6573,7 +6573,7 @@ static int mlxplat_probe(struct platform_device *pdev)
|
||||
}
|
||||
|
||||
/* Set default registers. */
|
||||
for (i = 0; i < mlxplat_regmap_config->num_reg_defaults; i++) {
|
||||
for (i = 0; i < mlxplat_regmap_config->num_reg_defaults; i++) {
|
||||
err = regmap_write(priv->regmap,
|
||||
mlxplat_regmap_config->reg_defaults[i].reg,
|
||||
mlxplat_regmap_config->reg_defaults[i].def);
|
||||
|
||||
Reference in New Issue
Block a user