]> git.baikalelectronics.ru Git - kernel.git/commit
i2c: mlxcpld: Add callback to notify probing completion
authorVadim Pasternak <vadimp@nvidia.com>
Wed, 13 Jul 2022 09:11:36 +0000 (12:11 +0300)
committerWolfram Sang <wsa@kernel.org>
Sat, 16 Jul 2022 12:50:02 +0000 (14:50 +0200)
commit2143a57aeb0e1efc655b98fe98b5e9060440c1a6
treeded867fc61dc905fc58352b6b2b619d23c02ad1f
parent6642d9b3b1f6feab59f5ce468e3f679304ff2758
i2c: mlxcpld: Add callback to notify probing completion

Add notification to inform caller that driver probing has been
completed. It allows to user, invoked platform device registration for
"i2c-mlxcpld" driver, to be notified that bus adapter is available, and
thus some devices could be connected to this bus.

Signed-off-by: Vadim Pasternak <vadimp@nvidia.com>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
drivers/i2c/busses/i2c-mlxcpld.c