drivers: ieee802154_mcr20a: fix style
Fix style before DT_IEEE802154_MCR20A* macros. Signed-off-by: Johann Fischer <j.fischer@phytec.de>
This commit is contained in:
parent
db64943aa5
commit
7734627215
|
@ -1376,8 +1376,7 @@ static inline int configure_spi(struct device *dev)
|
|||
{
|
||||
struct mcr20a_context *mcr20a = dev->driver_data;
|
||||
|
||||
mcr20a->spi = device_get_binding(
|
||||
DT_IEEE802154_MCR20A_SPI_DRV_NAME);
|
||||
mcr20a->spi = device_get_binding(DT_IEEE802154_MCR20A_SPI_DRV_NAME);
|
||||
if (!mcr20a->spi) {
|
||||
LOG_ERR("Unable to get SPI device");
|
||||
return -ENODEV;
|
||||
|
|
Loading…
Reference in a new issue