Re: [PATCH v1] pwm: dwc: allow suspend/resume for 16 channels

From: Andy Shevchenko
Date: Fri Apr 12 2024 - 11:32:47 EST


On Fri, Apr 12, 2024 at 01:12:48PM +0200, Uwe Kleine-König wrote:
> On Fri, Apr 12, 2024 at 11:38:12AM +0530, Raag Jadav wrote:

..

> > +struct dwc_pwm_drvdata {
> > + const struct dwc_pwm_info *info;
> > + void __iomem *io_base;
>
> .io_base is only used during init time and so doesn't need to be tracked
> in driver data.

It's me who asked for this specific change and I think it's still beneficial
as it allows to simplify the code.

--
With Best Regards,
Andy Shevchenko