diff options
author | Ruan Jinjie <[email protected]> | 2023-08-07 21:41:27 +0800 |
---|---|---|
committer | Mark Brown <[email protected]> | 2023-08-07 20:20:12 +0100 |
commit | 200ee464f7a9a4e8d7a51a2083b28cf240e7cb91 (patch) | |
tree | 2bddda980795a0a5fb9bf414d5207c8dd02d0323 /drivers/platform/surface/aggregator/ssh_parser.c | |
parent | c82197491fe02f87ef810a69187596224c1784ba (diff) |
regulator: rpi-panel-attiny-regulator: 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: Ruan Jinjie <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'drivers/platform/surface/aggregator/ssh_parser.c')
0 files changed, 0 insertions, 0 deletions