On Fri, Mar 18, 2016 at 9:07 PM, Alexandre Belloni <alexandre.belloni@xxxxxxxxxxxxxxxxxx> wrote: > On 18/03/2016 at 08:57:57 -0300, Javier Martinez Canillas wrote : >> >>> But yes, we can at least get rid of the else statement. I don't have a >> >>> strong opinion about the debug information, I left it to avoid someone >> >>> to tell me that I was removing a useful log. >> >> >> >> Although dev_dbg doesn't harm... but isn't driver core printing debug >> >> message already? >> >> >> > >> > I don't think it does or at least I didn't find it when looking >> > at the devm_clk_get() call chain. >> > >> >> BR, >> >> Krzysztof >> >> >> >> Just to make sure that I understood correctly, there's no action I >> should take in order for this patch to be picked right? IOW, the >> current version is OK? >> > > I was kind of waiting an answer on the question whether the core already > prints a message when probe dereferral happens because in that case, > there is no need for a debug message and we can indeed simplify the > whole block. Although I did not test it, I think the core will print generic defer message. See really_probe() around line 400: http://lxr.free-electrons.com/source/drivers/base/dd.c?v=4.4#L347 However the cause of deferring will not be printed... so I find some use of debug message in driver... On the other hand, not many drivers are doing this. Ehh, I guess I am just really picky. :) BR, Krzysztof -- To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html