net: dsa: remove limitation of switch index value
authorVivien Didelot <vivien.didelot@gmail.com>
Thu, 31 Oct 2019 02:09:18 +0000 (22:09 -0400)
committerDavid S. Miller <davem@davemloft.net>
Thu, 31 Oct 2019 21:26:38 +0000 (14:26 -0700)
commit27d4d19d7c82b3fd9d09ac9e2cd73c70ed4ca4b2
tree83b45a22a9aca0efdb78581c446aded139faa62f
parent8e5cb84c67e085ad4d8005dcecba3201f2b54504
net: dsa: remove limitation of switch index value

Because there is no static array describing the links between switches
anymore, we have no reason to force a limitation of the index value
set by the device tree.

Signed-off-by: Vivien Didelot <vivien.didelot@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/dsa/dsa2.c