mirror of https://gitee.com/openkylin/linux.git
platform/x86: mlx-platform: Fix semicolon.cocci warnings
drivers/platform/x86/mlx-platform.c:219:2-3: Unneeded semicolon Remove unneeded semicolon. Generated by: scripts/coccinelle/misc/semicolon.cocci CC: Vadim Pasternak <vadimp@mellanox.com> Signed-off-by: Fengguang Wu <fengguang.wu@intel.com> Acked-by: Vadim Pasternak <vadimp@mellanox.com> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
This commit is contained in:
parent
6613d18e90
commit
c3886c9d60
|
@ -215,7 +215,7 @@ static int __init mlxplat_init(void)
|
||||||
if (IS_ERR(priv->pdev_i2c)) {
|
if (IS_ERR(priv->pdev_i2c)) {
|
||||||
err = PTR_ERR(priv->pdev_i2c);
|
err = PTR_ERR(priv->pdev_i2c);
|
||||||
goto fail_alloc;
|
goto fail_alloc;
|
||||||
};
|
}
|
||||||
|
|
||||||
for (i = 0; i < ARRAY_SIZE(mlxplat_mux_data); i++) {
|
for (i = 0; i < ARRAY_SIZE(mlxplat_mux_data); i++) {
|
||||||
priv->pdev_mux[i] = platform_device_register_resndata(
|
priv->pdev_mux[i] = platform_device_register_resndata(
|
||||||
|
|
Loading…
Reference in New Issue