diff options
author | Joel Granados <[email protected]> | 2023-05-23 14:22:14 +0200 |
---|---|---|
committer | Luis Chamberlain <[email protected]> | 2023-05-23 21:43:25 -0700 |
commit | 93810936a6bfbc538771914836fca24570e3bcc5 (patch) | |
tree | 5bdf2d97b79b9e16bbb15cd41bdb38b59eed925f /tools/perf/scripts/python/event_analyzing_sample.py | |
parent | 7c0bf4dad6bf44eef4a573985dd053de77688df1 (diff) |
parport: Remove register_sysctl_table from parport_proc_register
This is part of the general push to deprecate register_sysctl_paths and
register_sysctl_table. Register dev/parport/PORTNAME and
dev/parport/PORTNAME/devices. Temporary allocation for name is freed at
the end of the function. Remove all the struct elements that are no
longer used in the parport_device_sysctl_template struct. Add parport
specific defines that hide the base path sizes.
To make sure the resulting directory structure did not change we
made sure that `find /proc/sys/dev/ | sha1sum` was the same before and
after the change.
Signed-off-by: Joel Granados <[email protected]>
Reported-by: kernel test robot <[email protected]>
Closes: https://lore.kernel.org/r/[email protected]/
Reported-by: Dan Carpenter <[email protected]>
Reviewed-by: Luis Chamberlain <[email protected]>
Signed-off-by: Luis Chamberlain <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions