Re: [PATCH] thinkpad_acpi.c: Remove #define TPACPI_<level>s forprintks

From: Joe Perches
Date: Fri Dec 25 2009 - 23:43:01 EST


On Sat, 2009-12-26 at 02:20 -0200, Henrique de Moraes Holschuh wrote:
> Why would I want a parameter macro instead of a straightforward bunch of
> #defines ?

To make grep a bit easier.

> It is not like the #defines are harder to understand than this
> pr_fmt thing.

Nope, not particularly difficult, but less standard.

> I don't want the pr_foo() siliness in code I maintain.

Your choice.

cheers,

--
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/