]> git.baikalelectronics.ru Git - kernel.git/commit
arcnet: arc-rimi: Use arcnet_<I/O> routines
authorJoe Perches <joe@perches.com>
Tue, 5 May 2015 17:06:10 +0000 (10:06 -0700)
committerMichael Grzeschik <m.grzeschik@pengutronix.de>
Wed, 23 Sep 2015 06:44:27 +0000 (08:44 +0200)
commitb63094f8d6974586cc086ae29cd63a2ddb1fc67c
tree1c882edc1a677ab2541548f6f472f2e7214cbd90
parent570b82295d9c879d3b8e433bb7ac276b2e2f310d
arcnet: arc-rimi: Use arcnet_<I/O> routines

Simplify and make consistent the current uses of readb/writeb
by using the newly introduced arcnet_<I/O> equivalents.

o Add new #defines for register offsets
o Remove old #defines that included the ioaddr
o Remove obfuscating macros by expanding them in-place where appropriate

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de>
drivers/net/arcnet/arc-rimi.c