dev_* mesage

Luis de Bethencourt luis at debethencourt.com
Fri Jul 17 11:28:09 EDT 2015


On 17 July 2015 at 16:06, roni <ronit.linux at gmail.com> wrote:

> What is the difference between dev_* (like dev_err) and pr_* (like
> pr_err)?
> In which situations we use them?
>
>
dev_*() is prefered when you have a struct device object.

Luis
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20150717/e458d61c/attachment.html 


More information about the Kernelnewbies mailing list