Re: [PATCH] Acer Aspire One Fan Control
From: Peter Feuerer
Date: Wed Jun 03 2009 - 03:58:09 EST
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
--
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/