2015-11-30 15:20:21

by Daniel Wagner

[permalink] [raw]
Subject: [PATCH] regmap: Fix leftover from struct reg_default to struct reg_sequence change

In 8019ff6cfc04 ("regmap: Use reg_sequence for multi_reg_write / register_patch")
struct reg_default was renamed to struct reg_secquence, which missed
one place to fix up.

Signed-off-by: Daniel Wagner <[email protected]>
Cc: Nariman Poushin <[email protected]>
Cc: Mark Brown <[email protected]>
---
include/linux/regmap.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/linux/regmap.h b/include/linux/regmap.h
index d68bb40..4d9a1a0 100644
--- a/include/linux/regmap.h
+++ b/include/linux/regmap.h
@@ -1021,7 +1021,7 @@ static inline void regmap_async_complete(struct regmap *map)
}

static inline int regmap_register_patch(struct regmap *map,
- const struct reg_default *regs,
+ const struct reg_sequence *regs,
int num_regs)
{
WARN_ONCE(1, "regmap API is disabled");
--
2.4.3


2015-11-30 15:27:32

by Daniel Wagner

[permalink] [raw]
Subject: Re: [PATCH] regmap: Fix leftover from struct reg_default to struct reg_sequence change

On 11/30/2015 04:20 PM, Daniel Wagner wrote:
> In 8019ff6cfc04 ("regmap: Use reg_sequence for multi_reg_write / register_patch")
> struct reg_default was renamed to struct reg_secquence, which missed
> one place to fix up.
>
> Signed-off-by: Daniel Wagner <[email protected]>
> Cc: Nariman Poushin <[email protected]>
> Cc: Mark Brown <[email protected]>

Forgot to add:

Reported-by: kbuild test robot <[email protected]>

Sorry about that.

2015-12-01 23:00:22

by Mark Brown

[permalink] [raw]
Subject: Applied "regmap: Fix leftover from struct reg_default to struct reg_sequence change" to the regmap tree

The patch

regmap: Fix leftover from struct reg_default to struct reg_sequence change

has been applied to the regmap tree at

git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regmap.git

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark

>From a6baa3deaf7aaec5f1c5233128b5285c4c7074e0 Mon Sep 17 00:00:00 2001
From: Daniel Wagner <[email protected]>
Date: Mon, 30 Nov 2015 16:20:15 +0100
Subject: [PATCH] regmap: Fix leftover from struct reg_default to struct
reg_sequence change

In 8019ff6cfc04 ("regmap: Use reg_sequence for multi_reg_write / register_patch")
struct reg_default was renamed to struct reg_secquence, which missed
one place to fix up.

Reported-by: kbuild test robot <[email protected]>
Signed-off-by: Daniel Wagner <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
---
include/linux/regmap.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/linux/regmap.h b/include/linux/regmap.h
index d68bb402120e..4d9a1a04647b 100644
--- a/include/linux/regmap.h
+++ b/include/linux/regmap.h
@@ -1021,7 +1021,7 @@ static inline void regmap_async_complete(struct regmap *map)
}

static inline int regmap_register_patch(struct regmap *map,
- const struct reg_default *regs,
+ const struct reg_sequence *regs,
int num_regs)
{
WARN_ONCE(1, "regmap API is disabled");
--
2.6.2

2015-12-15 15:44:35

by Nariman Poushin

[permalink] [raw]
Subject: Re: [PATCH] regmap: Fix leftover from struct reg_default to struct reg_sequence change

On Mon, 2015-11-30 at 16:27 +0100, Daniel Wagner wrote:
> On 11/30/2015 04:20 PM, Daniel Wagner wrote:
> > In 8019ff6cfc04 ("regmap: Use reg_sequence for multi_reg_write / register_patch")
> > struct reg_default was renamed to struct reg_secquence, which missed
> > one place to fix up.
> >
> > Signed-off-by: Daniel Wagner <[email protected]>
> > Cc: Nariman Poushin <[email protected]>
> > Cc: Mark Brown <[email protected]>
>
> Forgot to add:
>
> Reported-by: kbuild test robot <[email protected]>
>
> Sorry about that.

Acked-By: Nariman Poushin <[email protected]>