Re: [PATCH v11 net-next 1/9] mfd: ocelot: add helper to get regmap from a resource

Andy Shevchenko
2022-06-28T19:06:17Z

On Tue, Jun 28, 2022 at 8:56 PM Vladimir Oltean <vladimir.oltean@nxp.com> wrote:
>
> On Tue, Jun 28, 2022 at 09:46:59PM +0300, Vladimir Oltean wrote:
> > I searched for 5 minutes or so, and I noticed regmap_attach_dev() and
> > dev_get_regmap(), maybe those could be of help?
>
> ah, I see I haven't really brought anything of value to the table,
> dev_get_regmap() was discussed around v1 or so. I'll read the
> discussions again in a couple of hours to remember what was wrong with
> it such that you aren't using it anymore.

It would be nice if you can comment after here to clarify that.
Because in another series (not related to this anyhow) somebody
insisted to use dev_get_regmap().

--
With Best Regards,
Andy Shevchenko