diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2025-02-25 13:08:38 +0300 |
---|---|---|
committer | Bartosz Golaszewski <bartosz.golaszewski@linaro.org> | 2025-03-03 14:08:24 +0300 |
commit | f25f405d250fdc7e2e67be8d1732cbbc7cd782d0 (patch) | |
tree | 7c21b306e46affbf7de8cfbabf352c2b79853ec0 /tools/perf/scripts/python/gecko.py | |
parent | 03480898cefe9cb5ba921dba9304703f7574b687 (diff) | |
download | linux-f25f405d250fdc7e2e67be8d1732cbbc7cd782d0.tar.xz |
eeprom: at24: Drop of_match_ptr() and ACPI_PTR() protections
These result in a very small reduction in driver size, but at the cost
of more complex build and slightly harder to read code. In the case of
of_match_ptr() it also prevents use of PRP0001 ACPI based identification.
In this particular case we have a valid ACPI/PNP ID that should be used
in preference to PRP0001 but doesn't mean we should prevent that route.
With this done, drop unneeded of*.h inclusions and __maybe_unused markers.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Link: https://lore.kernel.org/r/20250225100838.362125-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions