On Wed, Dec 08, 2021 at 09:03:16AM +0200, Leon Romanovsky wrote: > On Tue, Dec 07, 2021 at 09:14:44AM -0800, David E. Box wrote: > > Adds get/set driver data helpers for auxiliary devices. > > > > Signed-off-by: David E. Box <david.e.box@xxxxxxxxxxxxxxx> > > Reviewed-by: Mark Gross <markgross@xxxxxxxxxx> > > --- > > V2 > > - No changes > > > > include/linux/auxiliary_bus.h | 10 ++++++++++ > > 1 file changed, 10 insertions(+) > > I would really like to see an explanation why such obfuscation is really > needed. dev_*_drvdata() is a standard way to access driver data. Lots of busses have this helper. This is nothing new at all, and is nice to have. Look at all of the calls to dev_get_drvdata() in include/linux/ for the examples. thanks, greg k-h