api/spi: Disable legacy API by default

Let's start deprecation work of the SPI legacy API.

Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
This commit is contained in:
Tomasz Bursztyka 2018-01-31 11:32:46 +01:00 committed by Carles Cufí
commit 324265420b
17 changed files with 17 additions and 13 deletions

View file

@ -18,11 +18,11 @@ menuconfig SPI
if SPI
config SPI_LEGACY_API
bool "Use legacy SPI API (default)"
default y
bool "Use legacy SPI API (soon to be deprecated)"
default n
help
Driver and user API is the legacy SPI API (spi_legacy.h).
If unselected, the new API will be used.
Driver and user API implements/use the legacy SPI API.
If unselected, the new API will be used (default).
config SPI_INIT_PRIORITY
int "Init priority"