diff options
| author | Geert Uytterhoeven <geert+renesas@glider.be> | 2019-07-31 14:47:38 +0200 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2019-08-01 14:08:37 +0100 |
| commit | cc8b4659491d23577eb8992449d82c7f4f4fc170 (patch) | |
| tree | 343362eef96a471d8aa9788ceb08e8f4d996f6ca /drivers/spi/spi-fsl-dspi.c | |
| parent | spi: sprd: Change the hwlock support to be optional (diff) | |
| download | linux-cc8b4659491d23577eb8992449d82c7f4f4fc170.tar.gz linux-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-fsl-dspi.c')
0 files changed, 0 insertions, 0 deletions
