]> 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)
commit99afdb4094816970f9ad17b017f7ef2be9860ab5
treeb1d16ca1b2693a0e1bba67dd1f33c499f7d1be26
parent00bdd737b5368fb22e4fc35f7dcc463d4c6ea91b
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