Re: [PATCH] gpio: regmap: Fix gpio_remap_register

From: Bartosz Golaszewski

Date: Wed Dec 03 2025 - 08:46:27 EST


On Wed, Dec 3, 2025 at 3:05 AM Wentao Guan <guanwentao@xxxxxxxxxxxxx> wrote:
>
> Because gpiochip_add_data successfully done, use
> err_remove_gpiochip instead of err_free_bitmap to free
> such as gdev,descs..
>
> Fixes: 553b75d4bfe9 ("gpio: regmap: Allow to allocate regmap-irq device")
> CC: stable@xxxxxxxxxxxxxxx
> Co-developed-by: WangYuli <wangyl5933@xxxxxxxxxxxxxx>
> Signed-off-by: WangYuli <wangyl5933@xxxxxxxxxxxxxx>
> Signed-off-by: Wentao Guan <guanwentao@xxxxxxxxxxxxx>
> ---

Please use get_maintainers.pl - you have not put neither Linus nor I
in the Cc list.

Bart