diff options
author | 2019-07-31 14:47:38 +0200 | |
---|---|---|
committer | 2019-08-01 14:08:37 +0100 | |
commit | cc8b4659491d23577eb8992449d82c7f4f4fc170 (patch) | |
tree | 343362eef96a471d8aa9788ceb08e8f4d996f6ca /drivers/spi/spi-qcom-qspi.c | |
parent | spi: sprd: Change the hwlock support to be optional (diff) | |
download | linux-rng-cc8b4659491d23577eb8992449d82c7f4f4fc170.tar.xz linux-rng-cc8b4659491d23577eb8992449d82c7f4f4fc170.zip |
spi: core: Use DEVICE_ATTR_RW() for SPI slave control sysfs attribute
Convert the SPI slave control sysfs attribute from DEVICE_ATTR() to
DEVICE_ATTR_RW(), to reduce boilerplate.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/20190731124738.14519-1-geert+renesas@glider.be
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi/spi-qcom-qspi.c')
0 files changed, 0 insertions, 0 deletions