On 23-May-2014, at 6:51 pm, Eduardo Valentin edubezval@gmail.com wrote: I agree. We need to have runtime dependency, and that is the major concern on my behalf. The problem of Kconfig dependency is that it imposes sequencing only on module loading, not at boot sequencing.
Another way around is returning -EPROBE_DEFER when some API is not ready at device probing for instance.
Okay, coming back to this patch. This driver is usable without thermal. And so the dependencies better be dropped ?