MIPS: BCM47xx: Simplify handling SPROM revisions
authorRafał Miłecki <zajec5@gmail.com>
Sun, 21 Jun 2015 13:25:49 +0000 (15:25 +0200)
committerRalf Baechle <ralf@linux-mips.org>
Sun, 21 Jun 2015 20:19:59 +0000 (22:19 +0200)
commit590605c6bc31d5cbfcb3844ef98eb10ff7ce24c3
tree263889e974ef3faa61d793f1de7ddb705cb1e95c
parent589de416fb07aaea94d27f71c31a9bb02af2e54c
MIPS: BCM47xx: Simplify handling SPROM revisions

After the big SPROM cleanup moving code to the bcm47xx_sprom_fill_auto
we ended up with few tiny functions, two of them being identical. Let's
get rid of these [12]-liners.
This also stops extracting higher SPROM revisions as revision 1. Now we
have that function nicely handling revisions we don't need it.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Cc: linux-mips@linux-mips.org
Cc: Hauke Mehrtens <hauke@hauke-m.de>
Patchwork: https://patchwork.linux-mips.org/patch/10569/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/bcm47xx/sprom.c