]> git.baikalelectronics.ru Git - kernel.git/commit
arcnet: com20020: replace magic numbers with readable macros
authorMichael Grzeschik <m.grzeschik@pengutronix.de>
Wed, 15 Apr 2015 09:43:57 +0000 (11:43 +0200)
committerMichael Grzeschik <m.grzeschik@pengutronix.de>
Wed, 23 Sep 2015 06:44:28 +0000 (08:44 +0200)
commita2678a402f1ec5895a511f21a13fcc9dca59adca
treeec40ec6e0decf8e2c4b878cf737a715718020ee0
parentb2e28f71df4e492a8e7b6a164a9c77ac516de739
arcnet: com20020: replace magic numbers with readable macros

This patch replaces all magic numbers in the driver with
proper named macros. For the case of XTOcfg and STARTIOcmd
it introduces the new macros.

Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de>
drivers/net/arcnet/arcdevice.h
drivers/net/arcnet/com20020.c
drivers/net/arcnet/com20020.h