summaryrefslogtreecommitdiff
path: root/drivers/pnp/Kconfig
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2018-07-11 22:32:41 +0300
committerDavid S. Miller <davem@davemloft.net>2018-07-13 03:39:15 +0300
commitcedca4180127e097e4823018e748b1635c0667f0 (patch)
treef950dc26ac8359898de1c6f545c4713576f01abb /drivers/pnp/Kconfig
parent750c721ee04fc18e8b66a6a8711c09a33cd76c58 (diff)
downloadlinux-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