From my superficial knowledge, I think we should not think about it too complicated. The return value is just zero or negative, and for these negative return value, such as "-ENODEV"ã"-ENXIO"ã"-ENOENT"ãâEPROBE_DEFERâïmay be the same effectãButâ-EPROBE_DEFERâhas another importment function: Driver requested deferred probingïwhich is used in cases where the dependency resource is not ready during the driver initialization process.Hardware experiments show that the negative return value is not just "-EPROBE_DEFER".How much will this specific error code influence our understanding
of the discussed software situation?
I suggest to reconsider also the proposed specification ââ ? : ââ.I don't know what you mean of "instead of leaving one case empty".+ÂÂÂÂÂÂÂ ret = udc_controller->irq ? : -ENODEV;Will it be clearer to specify values for all cases in such a conditional operator
(instead of leaving one case empty)?