Re: [PATCH 2/4] gpio: loongson1: Introduce ls1x_gpio_chip struct

From: andy . shevchenko
Date: Wed Feb 22 2023 - 07:25:44 EST


Wed, Feb 22, 2023 at 07:12:11PM +0800, Keguang Zhang kirjoitti:
> Introduce and allocate ls1x_gpio_chip struct containing
> gpio_chip and reg_base to avoid global gpio_reg_base.
>
> Use readl() & writel() instead of __raw_readl() & __raw_writel().

Please, split this to two pathes.

--
With Best Regards,
Andy Shevchenko