i2c: mux: mlxcpld: Add callback to notify mux creation completion
authorVadim Pasternak <vadimp@nvidia.com>
Mon, 8 Feb 2021 20:16:06 +0000 (22:16 +0200)
committerWolfram Sang <wsa@kernel.org>
Tue, 9 Feb 2021 10:35:44 +0000 (11:35 +0100)
commita39bd92e92b96d05d676fb5c9493cf1c911d2a0a
treebceaf899110092a802bf8f4db542960ae87c5114
parent699c0506543ee9ba3f5a67ab0837b292b098aeb4
i2c: mux: mlxcpld: Add callback to notify mux creation completion

Add notification to inform caller that mux objects array has been
created. It allows to user, invoked platform device registration for
"i2c-mux-mlxcpld" driver, to be notified that mux infrastructure is
available, and thus some devices could be connected to this
infrastructure.

Signed-off-by: Vadim Pasternak <vadimp@nvidia.com>
Acked-by: Peter Rosin <peda@axentia.se>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
drivers/i2c/muxes/i2c-mux-mlxcpld.c
include/linux/platform_data/mlxcpld.h