minor cleanup

The chip IDs are defined up top and those macros are used throughout the
code so let's remove the magic numbers in .chip_id so that everything is
using the macros.

No functionality changes, just a find/replace.