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:
parent
5170c16e5c
commit
e077fb73ec
58 changed files with 59 additions and 59 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue