Re: [PATCH -next] platform: intel-mid: device_libs: convert comma to semicolon
From: Andy Shevchenko
Date: Wed Dec 16 2020 - 08:49:38 EST
On Wed, Dec 16, 2020 at 3:11 PM Zheng Yongjun <zhengyongjun3@xxxxxxxxxx> wrote:
>
> Replace a comma between expression statements by a semicolon.
Acked-by: Andy Shevchenko <andy.shevchenko@xxxxxxxxx>
> Signed-off-by: Zheng Yongjun <zhengyongjun3@xxxxxxxxxx>
> ---
> arch/x86/platform/intel-mid/device_libs/platform_bt.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/arch/x86/platform/intel-mid/device_libs/platform_bt.c b/arch/x86/platform/intel-mid/device_libs/platform_bt.c
> index 31dda18bb370..2930b6e9473e 100644
> --- a/arch/x86/platform/intel-mid/device_libs/platform_bt.c
> +++ b/arch/x86/platform/intel-mid/device_libs/platform_bt.c
> @@ -88,8 +88,8 @@ static int __init bt_sfi_init(void)
> memset(&info, 0, sizeof(info));
> info.fwnode = ddata->dev->fwnode;
> info.parent = ddata->dev;
> - info.name = ddata->name,
> - info.id = PLATFORM_DEVID_NONE,
> + info.name = ddata->name;
> + info.id = PLATFORM_DEVID_NONE;
>
> pdev = platform_device_register_full(&info);
> if (IS_ERR(pdev))
> --
> 2.22.0
>
--
With Best Regards,
Andy Shevchenko