diff options
author | Geert Uytterhoeven <geert@linux-m68k.org> | 2021-02-07 14:05:43 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-02-09 12:27:32 +0100 |
commit | 0566752c3e8681ec47fee37374cb38081d801e95 (patch) | |
tree | 5d9f2a1465313ffa3e0d50bd6642b3386fc214e5 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 61de21a8315147da08a37ff8db2716739977eadc (diff) |
uapi: map_to_7segment: Update example in documentation
The device_attribute .show() and .store() methods gained an extra
parameter in v2.6.13, but the example in the documentation for the
7-segment header file was never updated. Add the missing parameters.
While at it, get rid of the (misspelled) deprecated symbolic
permissions, and switch to DEVICE_ATTR_RW(), which was introduced in
v3.11
Fixes: 54b6f35c99974e99 ("[PATCH] Driver core: change device_attribute callbacks")
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Link: https://lore.kernel.org/r/20210207130543.2128980-1-geert@linux-m68k.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions