summaryrefslogtreecommitdiffstats
path: root/drivers/soundwire
diff options
context:
space:
mode:
authorSrinivas Kandagatla <srinivas.kandagatla@linaro.org>2020-03-25 13:19:50 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-03-25 19:23:48 +0100
commit664f0549380cd5bee2cdac0a6ccfe21bdf74e027 (patch)
tree761815d515c3550dfdd99d15bb0edc149511cabf /drivers/soundwire
parentf60442ddc40c21a99720ee990d5924c80a24728d (diff)
downloadlinux-664f0549380cd5bee2cdac0a6ccfe21bdf74e027.tar.bz2
nvmem: core: use is_bin_visible for permissions
By using is_bin_visible callback to set permissions will remove a large list of attribute groups. These group permissions can be dynamically derived in the callback. Also add checks for read/write callbacks and set permissions accordingly. Suggested-by: Greg KH <gregkh@linuxfoundation.org> Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> Link: https://lore.kernel.org/r/20200325131951.31887-2-srinivas.kandagatla@linaro.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/soundwire')
0 files changed, 0 insertions, 0 deletions