OSDN Git Service

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)
commit84286f191a01f198ccfc15759d01320e3847accd
treeec40ec6e0decf8e2c4b878cf737a715718020ee0
parent54a84c61823e2069da2c7ad91518ff7625129ce5
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