]> git.baikalelectronics.ru Git - kernel.git/commit
arcnet: Remove function pointer macro indirections
authorJoe Perches <joe@perches.com>
Tue, 5 May 2015 17:06:12 +0000 (10:06 -0700)
committerMichael Grzeschik <m.grzeschik@pengutronix.de>
Wed, 23 Sep 2015 06:44:27 +0000 (08:44 +0200)
commit33356ed6253989ca82d504d5bcc064e441c7da6d
treeb1d16ca1b2693a0e1bba67dd1f33c499f7d1be26
parent1d9f8c3f17525d1dd2c1b4b75143e1b3af1633cf
arcnet: Remove function pointer macro indirections

It's clearer to use function pointer calls directly instead of the
macro indirections of ARCRESET, ACOMMAND, ASTATUS, and AINTMASK.

Remove the now unused macros too.

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