drivers: tests: replace usage of spi_is_ready with spi_is_ready_dt

`spi_is_ready` function is being deprecated in favor of
`spi_is_ready_dt` so let's replace the old usage in the tree.

Signed-off-by: Bartosz Bilas <bartosz.bilas@hotmail.com>
This commit is contained in:
Bartosz Bilas 2022-12-03 14:49:05 +01:00 committed by Maureen Helm
commit e077fb73ec
58 changed files with 59 additions and 59 deletions

View file

@ -55,7 +55,7 @@ int ft8xx_drv_init(void)
{
int ret;
if (!spi_is_ready(&spi)) {
if (!spi_is_ready_dt(&spi)) {
LOG_ERR("SPI bus %s not ready", spi.bus->name);
return -ENODEV;
}