|author||Ralf Baechle <firstname.lastname@example.org>||2008-10-30 13:38:45 +0000|
|committer||Ralf Baechle <email@example.com>||2008-10-30 14:44:34 +0000|
MIPS: Sort out CPU type to name translation.
As noticed by David Daney <firstname.lastname@example.org>, the old long switch statement did not comply with the Linux C coding style. It was also yet another place of code to be changed when adding a new processor type leading to annoying bugs for example in /proc/cpuinfo. Fixed by moving the setting of the CPU type string into the core of the probing code and a few BUG_ON() test to ensure the CPU probing code indeed did its job and removing multiple now redundant tests. Signed-off-by: Ralf Baechle <email@example.com>
Diffstat (limited to 'drivers/char/Kconfig')
0 files changed, 0 insertions, 0 deletions