diff options
author | Zhu Wang <[email protected]> | 2023-08-03 10:13:17 +0800 |
---|---|---|
committer | Bartosz Golaszewski <[email protected]> | 2023-08-03 15:58:54 +0200 |
commit | 87d0688483f56c748b37a5298bdc382df5cf8f74 (patch) | |
tree | 232a95897b016538cfbebb25864eb4c5e0a414cd /tools/perf/scripts/python/event_analyzing_sample.py | |
parent | 30531e14c9490f08392001f91d6a6baeae1cbacf (diff) |
gpio: xra1403: remove redundant of_match_ptr()
The driver depends on CONFIG_OF, so it is not necessary to use
of_match_ptr() here, and __maybe_unused can also be removed.
Even for drivers that do not depend on CONFIG_OF, it's almost always
better to leave out the of_match_ptr(), since the only thing it can
possibly do is to save a few bytes of .text if a driver can be used both
with and without it.
Signed-off-by: Zhu Wang <[email protected]>
Reviewed-by: Andy Shevchenko <[email protected]>
Signed-off-by: Bartosz Golaszewski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions