[PATCH v7 5/8] i2c: of-prober: Let cleanup op know if a device was found
Wolfram Sang
wsa+renesas at sang-engineering.com
Tue Nov 10 02:24:35 PST 2026
On Tue, Nov 03, 2026 at 12:37:29PM +0800, Chen-Yu Tsai wrote:
> The prober's cleanup op may want to do things differently if a device
> was found, such as wait for the actual device driver to pick up
> resources.
>
> Add a parameter to the cleanup op to pass this information in.
>
> Also fix up an incorrect reference in i2c_of_probe_ops's kernel-doc.
>
> Signed-off-by: Chen-Yu Tsai <wenst at chromium.org>
Acked-by: Wolfram Sang <wsa+renesas at sang-engineering.com>
More information about the Linux-mediatek
mailing list