diff options
Diffstat (limited to 'drivers/platform')
-rw-r--r-- | drivers/platform/x86/mlx-platform.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/platform/x86/mlx-platform.c b/drivers/platform/x86/mlx-platform.c index 2b98f299faa4..8fe51e43f1bc 100644 --- a/drivers/platform/x86/mlx-platform.c +++ b/drivers/platform/x86/mlx-platform.c @@ -2111,7 +2111,7 @@ static int __init mlxplat_init(void) mlxplat_regmap_config); if (IS_ERR(priv->regmap)) { err = PTR_ERR(priv->regmap); - return err; + goto fail_alloc; } err = mlxplat_mlxcpld_verify_bus_topology(&nr); |