Hi all, > > > 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.
I am willing to develop this series in the above direction. Before though, I'd like to know from hwspinlock maintainers if they agree to this refactoring in general. Thanks and happy hacking, Wolfram
