power: supply: sbs-manager: Remove class argument from i2c_mux_add_adapter()
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Thu, 18 Apr 2024 20:55:39 +0000 (22:55 +0200)
committerWolfram Sang <wsa+renesas@sang-engineering.com>
Tue, 14 May 2024 07:21:43 +0000 (09:21 +0200)
commit068a95ef3945033b5355e50fecea18737680d43d
treea2ed4c5089916e132408706cb40a2f21bc4f30ae
parentf9dc0c4a140a1e776a316f5875430b74bb0ec047
power: supply: sbs-manager: Remove class argument from i2c_mux_add_adapter()

Commit 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.

This driver was forgotten by the patch in the Fixes tag.

Fixes: fec1982d7072 ("i2c: mux: Remove class argument from i2c_mux_add_adapter()")
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Acked-by: Sebastian Reichel <sebastian.reichel@collabora.com>
drivers/power/supply/sbs-manager.c