drivers/mfd/atc260x-core.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
Replace a comma between expression statements by a semicolon.
Signed-off-by: Chen Ni <nichen@iscas.ac.cn>
---
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;
return 0;
--
2.25.1
On Mon, 02 Sep 2024 16:50:19 +0800, Chen Ni wrote:
> Replace a comma between expression statements by a semicolon.
>
>
Applied, thanks!
[1/1] mfd: atc260x: Convert comma to semicolon
commit: d7548a14ed7c45edf2b73e0c527597d2709739e5
--
Lee Jones [李琼斯]
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@iscas.ac.cn> > --- > 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@collabora.com>
© 2016 - 2025 Red Hat, Inc.