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:
Johann Fischer 2018-12-07 17:05:35 +01:00 committed by Maureen Helm
parent db64943aa5
commit 7734627215

View file

@ -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;