Messages in this thread | | | Date | Fri, 05 Jun 2009 11:54:02 +0100 | From | Alan Jenkins <> | Subject | Re: [PATCH] eeepc-laptop.c: use pr_fmt and pr_<level> |
| |
Joe Perches wrote: > Convert the unusual printk(EEEPC_<level> uses to > the more standard pr_fmt and pr_<level>(. > > Signed-off-by: Joe Perches <joe@perches.com> > > diff --git a/drivers/platform/x86/eeepc-laptop.c b/drivers/platform/x86/eeepc-laptop.c > index 353a898..94cacdd 100644 > --- a/drivers/platform/x86/eeepc-laptop.c > +++ b/drivers/platform/x86/eeepc-laptop.c > @@ -16,6 +16,8 @@ > * GNU General Public License for more details. > */ > > +#define pr_fmt(fmt) EEEPC_HOTK_FILE ": " fmt > >
Is EEEPC_HOTK_FILE used anywhere else? It would be clearer if you were able to just use "eeepc: " or whatever and remove the definition of EEEPC_HOTK_FILE.
Thanks for the cleanup Alan
| |