]> git.baikalelectronics.ru Git - uboot.git/commit
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)
commit9b23b604b5726b2e956353457c595aee6f389d94
tree02eb5cfea4a26684dd171d5f9ef83a6864e28f1f
parent6937b2a6df0fec3df8c90adc6b4baeedf20857ea
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