[PATCH] i2c: mux: Remove class argument from i2c_mux_add_adapter()

Peter Rosin peda at axentia.se
Fri Apr 19 08:47:53 UTC 2024


Hi!

2024-04-18 at 22:55, Heiner Kallweit wrote:
> 99a741aa7a2d ("i2c: mux: gpio: remove support for class-based device
> instantiation") removed the last call to i2c_mux_add_adapter() with a
> non-null class argument. Therefore the class argument can be removed.
> 
> Note: Class-based device instantiation is a legacy mechanism which
> shouldn't be used in new code, so we can rule out that this argument
> may be needed again in the future.
> 
> Signed-off-by: Heiner Kallweit <hkallweit1 at gmail.com>

Acked-by: Peter Rosin <peda at axentia.se>

Cheers,
Peter


More information about the dri-devel mailing list