Skip to content

Commit

Permalink
Merge remote-tracking branch 'spi/topic/core' into spi-next
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark Brown committed Jul 3, 2017
2 parents 20e5c74 + ad25c92 commit 096bf6b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/spi/spi.c
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ static ssize_t spi_master_##field##_show(struct device *dev, \
return spi_statistics_##field##_show(&master->statistics, buf); \
} \
static struct device_attribute dev_attr_spi_master_##field = { \
.attr = { .name = file, .mode = S_IRUGO }, \
.attr = { .name = file, .mode = 0444 }, \
.show = spi_master_##field##_show, \
}; \
static ssize_t spi_device_##field##_show(struct device *dev, \
Expand All @@ -91,7 +91,7 @@ static ssize_t spi_device_##field##_show(struct device *dev, \
return spi_statistics_##field##_show(&spi->statistics, buf); \
} \
static struct device_attribute dev_attr_spi_device_##field = { \
.attr = { .name = file, .mode = S_IRUGO }, \
.attr = { .name = file, .mode = 0444 }, \
.show = spi_device_##field##_show, \
}

Expand Down

0 comments on commit 096bf6b

Please sign in to comment.