diff mbox series

[platform-next,v1,4/9] platform/x86: mlx-platform: Cosmetic changes

Message ID 20191231102917.24181-5-vadimp@mellanox.com (mailing list archive)
State Changes Requested, archived
Headers show
Series platform/x86: Mellanox new system classes and new features | expand

Commit Message

Vadim Pasternak Dec. 31, 2019, 10:29 a.m. UTC
Remove redundant semicolons at the end of few functions.

Signed-off-by: Vadim Pasternak <vadimp@mellanox.com>
---
 drivers/platform/x86/mlx-platform.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

Comments

Andy Shevchenko Jan. 9, 2020, 3:16 p.m. UTC | #1
On Tue, Dec 31, 2019 at 12:29 PM Vadim Pasternak <vadimp@mellanox.com> wrote:
>
> Remove redundant semicolons at the end of few functions.
>

Sounds like this can be patch in the beginning of the series.
(Taking into account any bug fixes that have to prepend all the rest,
like Documentation fix)

> Signed-off-by: Vadim Pasternak <vadimp@mellanox.com>
> ---
>  drivers/platform/x86/mlx-platform.c | 10 +++++-----
>  1 file changed, 5 insertions(+), 5 deletions(-)
>
> diff --git a/drivers/platform/x86/mlx-platform.c b/drivers/platform/x86/mlx-platform.c
> index aed6ac18074e..7e92dc52071f 100644
> --- a/drivers/platform/x86/mlx-platform.c
> +++ b/drivers/platform/x86/mlx-platform.c
> @@ -1918,7 +1918,7 @@ static int __init mlxplat_dmi_default_matched(const struct dmi_system_id *dmi)
>         mlxplat_wd_data[0] = &mlxplat_mlxcpld_wd_set_type1[0];
>
>         return 1;
> -};
> +}
>
>  static int __init mlxplat_dmi_msn21xx_matched(const struct dmi_system_id *dmi)
>  {
> @@ -1937,7 +1937,7 @@ static int __init mlxplat_dmi_msn21xx_matched(const struct dmi_system_id *dmi)
>         mlxplat_wd_data[0] = &mlxplat_mlxcpld_wd_set_type1[0];
>
>         return 1;
> -};
> +}
>
>  static int __init mlxplat_dmi_msn274x_matched(const struct dmi_system_id *dmi)
>  {
> @@ -1956,7 +1956,7 @@ static int __init mlxplat_dmi_msn274x_matched(const struct dmi_system_id *dmi)
>         mlxplat_wd_data[0] = &mlxplat_mlxcpld_wd_set_type1[0];
>
>         return 1;
> -};
> +}
>
>  static int __init mlxplat_dmi_msn201x_matched(const struct dmi_system_id *dmi)
>  {
> @@ -1975,7 +1975,7 @@ static int __init mlxplat_dmi_msn201x_matched(const struct dmi_system_id *dmi)
>         mlxplat_wd_data[0] = &mlxplat_mlxcpld_wd_set_type1[0];
>
>         return 1;
> -};
> +}
>
>  static int __init mlxplat_dmi_qmb7xx_matched(const struct dmi_system_id *dmi)
>  {
> @@ -1998,7 +1998,7 @@ static int __init mlxplat_dmi_qmb7xx_matched(const struct dmi_system_id *dmi)
>         mlxplat_regmap_config = &mlxplat_mlxcpld_regmap_config_ng;
>
>         return 1;
> -};
> +}
>
>  static const struct dmi_system_id mlxplat_dmi_table[] __initconst = {
>         {
> --
> 2.11.0
>
diff mbox series

Patch

diff --git a/drivers/platform/x86/mlx-platform.c b/drivers/platform/x86/mlx-platform.c
index aed6ac18074e..7e92dc52071f 100644
--- a/drivers/platform/x86/mlx-platform.c
+++ b/drivers/platform/x86/mlx-platform.c
@@ -1918,7 +1918,7 @@  static int __init mlxplat_dmi_default_matched(const struct dmi_system_id *dmi)
 	mlxplat_wd_data[0] = &mlxplat_mlxcpld_wd_set_type1[0];
 
 	return 1;
-};
+}
 
 static int __init mlxplat_dmi_msn21xx_matched(const struct dmi_system_id *dmi)
 {
@@ -1937,7 +1937,7 @@  static int __init mlxplat_dmi_msn21xx_matched(const struct dmi_system_id *dmi)
 	mlxplat_wd_data[0] = &mlxplat_mlxcpld_wd_set_type1[0];
 
 	return 1;
-};
+}
 
 static int __init mlxplat_dmi_msn274x_matched(const struct dmi_system_id *dmi)
 {
@@ -1956,7 +1956,7 @@  static int __init mlxplat_dmi_msn274x_matched(const struct dmi_system_id *dmi)
 	mlxplat_wd_data[0] = &mlxplat_mlxcpld_wd_set_type1[0];
 
 	return 1;
-};
+}
 
 static int __init mlxplat_dmi_msn201x_matched(const struct dmi_system_id *dmi)
 {
@@ -1975,7 +1975,7 @@  static int __init mlxplat_dmi_msn201x_matched(const struct dmi_system_id *dmi)
 	mlxplat_wd_data[0] = &mlxplat_mlxcpld_wd_set_type1[0];
 
 	return 1;
-};
+}
 
 static int __init mlxplat_dmi_qmb7xx_matched(const struct dmi_system_id *dmi)
 {
@@ -1998,7 +1998,7 @@  static int __init mlxplat_dmi_qmb7xx_matched(const struct dmi_system_id *dmi)
 	mlxplat_regmap_config = &mlxplat_mlxcpld_regmap_config_ng;
 
 	return 1;
-};
+}
 
 static const struct dmi_system_id mlxplat_dmi_table[] __initconst = {
 	{