You don't need to do anything special. Presumably at some point the absence of the dependency will lead to an error during probing - when getting a PWM, clock etc. (if not, it isn't really a dependency). When that happens, return -EPROBE_DEFER, in the expectation that your probe function will be called again.
Statistics: Posted by PhilE — Tue Feb 27, 2024 3:14 pm