spi: mpc8xxx: Replace defines with enums
authorMario Six <mario.six@gdsys.cc>
Sun, 28 Apr 2019 20:28:41 +0000 (01:58 +0530)
committerJagan Teki <jagan@amarulasolutions.com>
Mon, 10 Jun 2019 12:29:48 +0000 (17:59 +0530)
commit6ea9395bf7af26b7b84c9668b46d0c66946bbde3
treeaf767995597527201c7dedc6c1c63008b4b4ea5c
parentfabe6c49091aea05e4647f836c4ad2bf13a516f8
spi: mpc8xxx: Replace defines with enums

Replace pre-processor defines with proper enums, and use the BIT macro
where applicable.

Signed-off-by: Mario Six <mario.six@gdsys.cc>
Acked-by: Jagan Teki <jagan@amarulasolutions.com>
drivers/spi/mpc8xxx_spi.c