pr_* versus dev_*
From: Neshama Parhoti
Date: Tue Mar 30 2010 - 12:07:29 EST
Which set of macros should I use in my driver ?
pr_info, pr_err, etc... or dev_info, dev_err, etc. ?
what are the advantages of the dev_* macros over the pr_* macros
(why does it take the device pointer as an argument) ?
obviously I don't have access to my device pointer in all my functions..
so pr_info is easier to use..
but if it's wanted, obviously I can arrange to have my device pointer
accessible..
thank you
~pnesh
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/