]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
spi: core: Use DEVICE_ATTR_RW() for SPI slave control sysfs attribute
authorGeert Uytterhoeven <geert+renesas@glider.be>
Wed, 31 Jul 2019 12:47:38 +0000 (14:47 +0200)
committerMark Brown <broonie@kernel.org>
Thu, 1 Aug 2019 13:08:37 +0000 (14:08 +0100)
commitcc8b4659491d23577eb8992449d82c7f4f4fc170
tree343362eef96a471d8aa9788ceb08e8f4d996f6ca
parent70f69f481b87da0614360e57e05a3ba962d60439
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>
drivers/spi/spi.c