Re: [RFC PATCH 0/4] hwspinlock: refactor headers into public provider/consumer pair

Wolfram Sang
2026-01-26T10:29:33Z

> > Providers need it, especially the 'priv' member. Consumers won't see it.
>
> But can't we make it opaque?
>
> We may have getters and setters for the priv member...

I think we could do that.

Two drivers use the bank member, but only for the device
(lock->bank->dev). That can probably be refactored away, I'd guess.