staging: comedi: addi_eeprom: use AMCC_OP_REG_* defines
authorH Hartley Sweeten <hartleys@visionengravers.com>
Tue, 30 Oct 2012 00:06:42 +0000 (17:06 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 30 Oct 2012 17:50:13 +0000 (10:50 -0700)
commited4d2b265ed56fb2b182a3bbd051bc3db42c0ae0
tree3f46a637985d44fa3a144079583fb57419a4426f
parentfc272e0042cae8c13d3484998811309af1a4b11b
staging: comedi: addi_eeprom: use AMCC_OP_REG_* defines

Use the AMCC_OP_REG_* register offset defines for the magic numbers
used to read the nvram data.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/addi-data/addi_eeprom.c