Re: [PATCH] mfd: atc260x: Convert comma to semicolon

From: Cristian Ciocaltea
Date: Mon Sep 02 2024 - 13:03:56 EST


On Mon, Sep 02, 2024 at 04:50:19PM +0800, Chen Ni wrote:
> Replace a comma between expression statements by a semicolon.
>
> Signed-off-by: Chen Ni <nichen@xxxxxxxxxxx>
> ---
> drivers/mfd/atc260x-core.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/mfd/atc260x-core.c b/drivers/mfd/atc260x-core.c
> index 67473b58b03d..6b6d5f1b9d76 100644
> --- a/drivers/mfd/atc260x-core.c
> +++ b/drivers/mfd/atc260x-core.c
> @@ -235,8 +235,8 @@ int atc260x_match_device(struct atc260x *atc260x, struct regmap_config *regmap_c
>
> mutex_init(atc260x->regmap_mutex);
>
> - regmap_cfg->lock = regmap_lock_mutex,
> - regmap_cfg->unlock = regmap_unlock_mutex,
> + regmap_cfg->lock = regmap_lock_mutex;
> + regmap_cfg->unlock = regmap_unlock_mutex;
> regmap_cfg->lock_arg = atc260x->regmap_mutex;

Good catch!

Reviewed-by: Cristian Ciocaltea <cristian.ciocaltea@xxxxxxxxxxxxx>