net: smc911x: Drop redundant CONFIG_SMC911X_16_BIT Kconfig symbol
authorAndre Przywara <andre.przywara@arm.com>
Mon, 28 Jun 2021 13:30:30 +0000 (14:30 +0100)
committerRamon Fried <rfried.dev@gmail.com>
Tue, 6 Jul 2021 02:22:41 +0000 (05:22 +0300)
commitf26c9d7fedb6dce4dcd8f0e763adda707dcbeca6
treeb9ed0893fd4f74883ceed51fb6d4a425611268bd
parent8a3987f47ad749fc2e37687bab6a049d92fe42e8
net: smc911x: Drop redundant CONFIG_SMC911X_16_BIT Kconfig symbol

The SMC911x Ethernet driver needs to know which accessor functions it
can use to access the MMIO registers. For that reason we have a Kconfig
choice between 16 and 32-bit bus width.

Since it's only those two options that we (and the Linux kernel)
support, and there does not seem to be any evidence of another bus
width anywhere, limit the Kconfig construct to a simple symbol.

This simplifies the code and allows a later rework to be much easier.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Reviewed-by: Ramon Fried <rfried.dev@gmail.com>
drivers/net/Kconfig
drivers/net/smc911x.c