summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorThomas Weißschuh <linux@weissschuh.net>2024-11-22 15:14:00 +0300
committerRob Herring (Arm) <robh@kernel.org>2024-12-03 19:52:41 +0300
commit16ef9c9de0c48b836c5996c6e9792cb4f658c8f1 (patch)
tree733d3e05a1040c0b93efedd973acf5d044ed5da7 /tools/perf/scripts/python/export-to-sqlite.py
parent40384c840ea1944d7c5a392e8975ed088ecf0b37 (diff)
downloadlinux-16ef9c9de0c48b836c5996c6e9792cb4f658c8f1.tar.xz
of/fdt: Implement use BIN_ATTR_SIMPLE macro for fdt sysfs attribute
The usage of the macro allows to remove the custom handler function, saving some memory. Additionally the code is easier to read. While at it also mark the attribute as __ro_after_init, as the only modification happens in the __init phase. Signed-off-by: Thomas Weißschuh <linux@weissschuh.net> Link: https://lore.kernel.org/r/20241122-sysfs-const-bin_attr-of-v1-1-7052f9dcd4be@weissschuh.net Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions