drivers: led_strip: Fix typo in APA102 driver

This typo was causing a compile error when ever the APA102
led_strip driver was enabled.

Signed-off-by: Roman Vaughan <nzsmartie@gmail.com>
This commit is contained in:
Roman Vaughan 2018-12-09 04:39:39 +13:00 committed by Andrew Boie
parent fa4c07120c
commit ebf5dfb058

View file

@ -40,7 +40,7 @@ static int apa102_update(struct device *dev, void *buf, size_t size)
};
const struct spi_buf_set tx = {
.buffers = tx_bufs,
.count = ARRAY_SIZE(tx)
.count = ARRAY_SIZE(tx_bufs)
};
return spi_write(data->spi, &data->cfg, &tx);