Re: [PATCH v3 02/10] ARM: tegra: export Tegra chipid

From: Olof Johansson
Date: Mon Feb 20 2012 - 18:30:15 EST


Hi,

On Mon, Feb 20, 2012 at 3:13 PM, Colin Cross <ccross@xxxxxxxxxxx> wrote:

> Other platforms use accessors for this (cpu_is_xxx(), although
> soc_is_xxx() is probably more appropriate).

I have previously objected to additions of said functions on tegra,
since they tend to start crawling into drivers as runtime tests
instead of providing more appropriate detection at probe time.

I can be persuaded differently but I haven't yet seen a strong case
for changing my mind. :)


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