On Saturday, 30 August 2025 06:41:58 Central European Summer Time Andy Shevchenko wrote: > On Sat, Aug 30, 2025 at 7:37 AM Andy Shevchenko > > <andy.shevche...@gmail.com> wrote: > > On Fri, Aug 29, 2025 at 2:41 AM David Lechner <dlech...@baylibre.com> wrote: > > > On 8/28/25 5:17 PM, Duje Mihanović wrote: > ... > > > > > + ret = regmap_bulk_read(*map, regs[chan], buf, 2); > > On top, please drop a double pointer and use map directly. That's > already a pointer, what's the issue with it to begin with?
struct regmap is only defined in a regmap-internal header, so it has to be a double pointer or a struct containing a regmap pointer. I went with David's advice and created this struct. Regards, -- Duje