diff options
| author | Andy Shevchenko <[email protected]> | 2025-02-25 10:08:38 +0000 |
|---|---|---|
| committer | Bartosz Golaszewski <[email protected]> | 2025-03-03 11:08:24 +0000 |
| commit | f25f405d250fdc7e2e67be8d1732cbbc7cd782d0 (patch) | |
| tree | 7c21b306e46affbf7de8cfbabf352c2b79853ec0 /lib/crypto/mpi/mpi-add.c | |
| parent | dt-bindings: eeprom: at24: Add compatible for Giantec GT24P128E (diff) | |
| download | kernel-f25f405d250fdc7e2e67be8d1732cbbc7cd782d0.tar.gz kernel-f25f405d250fdc7e2e67be8d1732cbbc7cd782d0.zip | |
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 <[email protected]>
Acked-by: Arnd Bergmann <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Bartosz Golaszewski <[email protected]>
Diffstat (limited to 'lib/crypto/mpi/mpi-add.c')
0 files changed, 0 insertions, 0 deletions
