[RFT PATCH 06/13] gpio: max7360: create the regmap-irq chip from the gpio-regmap callback

Andy Shevchenko andriy.shevchenko at linux.intel.com
Thu Nov 26 12:43:57 PST 2026


On Thu, Nov 26, 2026 at 04:35:17PM +0100, Michael Walle wrote:
> Use the new gpio_regmap_add_irq_chip() helper to create the regmap-irq
> domain.

...

> +struct max7360_gpio {
> +	struct device *dev;
> +	struct regmap *regmap;
> +};

Why do we need both? Is regmap created with difference 'dev'?

-- 
With Best Regards,
Andy Shevchenko





More information about the linux-arm-kernel mailing list