diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2018-07-11 22:32:41 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-07-13 03:39:15 +0300 |
commit | cedca4180127e097e4823018e748b1635c0667f0 (patch) | |
tree | f950dc26ac8359898de1c6f545c4713576f01abb /drivers/pnp/Kconfig | |
parent | 750c721ee04fc18e8b66a6a8711c09a33cd76c58 (diff) | |
download | linux-cedca4180127e097e4823018e748b1635c0667f0.tar.xz |
net: gemini: Look up L3 maxlen from table
The code to calculate the hardware register enumerator
for the maximum L3 length isn't entirely simple to read.
Use the existing defines and rewrite the function into a
table look-up.
Acked-by: Michał Mirosław <mirq-linux@rere.qmqm.pl>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/pnp/Kconfig')
0 files changed, 0 insertions, 0 deletions