Messages in this thread | | | From | Peter Feuerer <> | Subject | Re: [PATCH] Acer Aspire One Fan Control | Date | Wed, 03 Jun 2009 09:52:01 +0200 |
| |
Hi Boris,
Borislav Petkov writes:
>> + >> +#define pr_fmt(fmt) "acerhdf: " fmt > > This is new but it's not used anywhere. Maybe some debug leftovers?
This is the way Joe suggested, how to use printk's: You define the pr_fmt(fmt) before any includes and you can just do 'pr_notice("Fan control off, to enable:\n");' to printk a notice which looks like this: "acerhdf: Fan control off...". Same with pr_err(...) which prints an error.
kind regards, --peter
| |