diff options
author | Zhu Wang <[email protected]> | 2023-08-02 10:24:03 +0800 |
---|---|---|
committer | Bartosz Golaszewski <[email protected]> | 2023-08-03 15:58:45 +0200 |
commit | a374467ae68c23d4c9e9d5009207c1414469c5b0 (patch) | |
tree | be50f6667bf0ac16e6c80415a55eb2fdd25161a6 /tools/perf/scripts/python/event_analyzing_sample.py | |
parent | 9c573074895f9e2da3cbe92605dce5d765b311b7 (diff) |
gpio: altera-a10sr: remove redundant of_match_ptr
The driver depends on CONFIG_OF, so it is not necessary to use
of_match_ptr() here.
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. Hence we remove of_match_ptr().
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