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

Wolfram Sang wsa+renesas at sang-engineering.com
Mon May 6 06:42:45 UTC 2024


On Thu, Apr 18, 2024 at 10:55:39PM +0200, 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>

For the record, I will apply this patch once Andi sends me his pull
request because there is a dependency in there.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20240506/671cae9c/attachment.sig>


More information about the dri-devel mailing list