Re: [PATCH v7 5/8] i2c: of-prober: Let cleanup op know if a device was found

From: Wolfram Sang

Date: Tue Nov 10 2026 - 05:37:45 EST


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@xxxxxxxxxxxx>

Acked-by: Wolfram Sang <wsa+renesas@xxxxxxxxxxxxxxxxxxxx>