spi: sun4i: Driver cleanup
authorJagan Teki <jagan@amarulasolutions.com>
Wed, 27 Feb 2019 14:32:12 +0000 (20:02 +0530)
committerJagan Teki <jagan@amarulasolutions.com>
Mon, 4 Mar 2019 12:38:56 +0000 (18:08 +0530)
commit903e7cf37ceb0552f6b8948e30fb9bb662980cd9
tree02eb5cfea4a26684dd171d5f9ef83a6864e28f1f
parent853f4511e99456ad8eae3fadac641bcdb685868d
spi: sun4i: Driver cleanup

- drop unused macros.
- use base instead of base_addr, for better code readability
- move .probe and .ofdata_to_platdata functions in required
  places to add platdata support in future.
- use sentinel sun4i_spi_ids.

Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
drivers/spi/sun4i_spi.c