[RFC PATCH 0/4] hwspinlock: refactor headers into public provider/consumer pair
Wolfram Sang
wsa+renesas at sang-engineering.com
Mon Jan 26 02:29:26 PST 2026
> > 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.
More information about the linux-arm-kernel
mailing list