pr_* versus dev_*

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Neshama Parhoti
Date: Tuesday, March 30, 2010 - 9:07 am

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
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
pr_* versus dev_*, Neshama Parhoti, (Tue Mar 30, 9:07 am)
Re: pr_* versus dev_*, Joe Perches, (Tue Mar 30, 9:52 am)
Re: pr_* versus dev_*, Neshama Parhoti, (Tue Mar 30, 10:42 pm)
Re: pr_* versus dev_*, Joe Perches, (Tue Mar 30, 10:48 pm)
Re: pr_* versus dev_*, Neshama Parhoti, (Tue Mar 30, 10:57 pm)