Merge remote-tracking branch 'spi/topic/core' into spi-next

This commit is contained in:
Mark Brown 2016-01-11 16:48:29 +00:00
Родитель f30f072a5f d1eba93bd0
Коммит 174c21163d
1 изменённых файлов: 1 добавлений и 2 удалений

Просмотреть файл

@ -84,8 +84,7 @@ static ssize_t spi_device_##field##_show(struct device *dev, \
struct device_attribute *attr, \ struct device_attribute *attr, \
char *buf) \ char *buf) \
{ \ { \
struct spi_device *spi = container_of(dev, \ struct spi_device *spi = to_spi_device(dev); \
struct spi_device, dev); \
return spi_statistics_##field##_show(&spi->statistics, buf); \ return spi_statistics_##field##_show(&spi->statistics, buf); \
} \ } \
static struct device_attribute dev_attr_spi_device_##field = { \ static struct device_attribute dev_attr_spi_device_##field = { \