]> git.itanic.dy.fi Git - linux-stable/commit
gpio: mockup: Fix mode of debugfs files
authorZev Weiss <zev@bewilderbeest.net>
Wed, 17 May 2023 05:47:56 +0000 (22:47 -0700)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Wed, 17 May 2023 09:19:32 +0000 (11:19 +0200)
commit0a1bb16e0fe6650c3841e611de374bfd5578ad70
tree4fec4f3c7d193a4b56dfe6511f1da09fc70a6bf5
parent976d3c6778e99390c6d854d140b746d12ea18a51
gpio: mockup: Fix mode of debugfs files

This driver's debugfs files have had a read operation since commit
2a9e27408e12 ("gpio: mockup: rework debugfs interface"), but were
still being created with write-only mode bits.  Update them to
indicate that the files can also be read.

Signed-off-by: Zev Weiss <zev@bewilderbeest.net>
Fixes: 2a9e27408e12 ("gpio: mockup: rework debugfs interface")
Cc: stable@kernel.org # v5.1+
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
drivers/gpio/gpio-mockup.c