Re: [PATCH v12 07/11] gpio: pl061: keep the parent device in a local

From: Andy Shevchenko

Date: Tue Oct 27 2026 - 03:46:00 EST


On Tue, Oct 27, 2026 at 12:18:54PM +0800, Long Zhao via B4 Relay wrote:

> IRQ logging uses gc->parent. Keep that device in a local so the
> gpio-regmap switch can change where it comes from without rewriting
> every log line.

...

> - dev_warn(gc->parent, "no trigger selected for line %d\n",
> + dev_warn(parent, "no trigger selected for line %d\n",
> offset);

Make it a single line now.

dev_warn(parent, "no trigger selected for line %d\n", offset);

--
With Best Regards,
Andy Shevchenko