net: dc2114x: Clean up DE4X5 macros
authorMarek Vasut <marek.vasut+renesas@gmail.com>
Sun, 19 Apr 2020 01:36:46 +0000 (03:36 +0200)
committermarex <marex@desktop.lan>
Fri, 1 May 2020 10:35:21 +0000 (12:35 +0200)
commit04da06120909729bc9d0d3974d06dc2ef758e821
tree810586e0d85175bb1a199619b0aaddcc06fd9b4c
parenteb216f1e0005ea1b3e125efeb32d72d1691eea2d
net: dc2114x: Clean up DE4X5 macros

Replace these macros with static functions to permit the compiler to
do type checking on the functions. The INL()/OUTL() functions have to
be moved in this patch as well, as those DE4X5 macros are using them.
No functional change.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Cc: Joe Hershberger <joe.hershberger@ni.com>
drivers/net/dc2114x.c