# Re: \[PATCH v4 2/3\] gpio: gpio-regmap: Use devm\_add\_action\_or\_reset()

- From: Michael Walle \<hidden\>
- Date: 2021-06-03 07:40:29 
- List: linux-arm-kernel
- Page: https://ratatoskr.run/linux-arm-kernel/2021/06/1400787
- Thread: https://ratatoskr.run/linux-gpio/2021/05/1392120/t.md

```text
Am 3. Juni 2021 06:26:03 MESZ schrieb Matti Vaittinen [ref]:
>Morning Bart,
>
>On Wed, 2021-06-02 at 13:54 +0200, Bartosz Golaszewski wrote:
>> On Fri, May 28, 2021 at 7:17 PM Michael Walle [ref]
>> wrote:
>> > Am 2021-05-26 08:10, schrieb Matti Vaittinen:
>> > > Slightly simplify the devm_gpio_regmap_register() by using the
>> > > devm_add_action_or_reset().
>> > 
>> > Reviewed-by: Michael Walle <redacted>
>> > 
>> > -michael
>> 
>> This doesn't apply on its own - looks like it depends on patch 1/3.
>> Would you mind sending it separately rebased on top of my for-next
>> branch at 
>> https://git.kernel.org/pub/scm/linux/kernel/git/brgl/linux.git/?
>> 
>
>Sure. No problem. I'll respin this sole patch today unless Michael
>plans adding other changes - in which case it might be best he includes
>this just to avoid the conflicts.

Both are fine by me. I don't expect any conflicts, but I can also pick this up when I'm picking the gpio_regmap_set_drvdata() stuff of the other patch. I'll do it probably tomorrow. 

-michael


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
```
