[PATCH v1 0/5] gpiolib: acpi: Refactor to shrink the code by ~8%

Andy Shevchenko posted 5 patches 1 week, 1 day ago
There is a newer version of this series
drivers/gpio/gpiolib-acpi.c   | 138 +++++++++++++++++-----------------
include/linux/gpio/consumer.h |   2 +-
2 files changed, 68 insertions(+), 72 deletions(-)
[PATCH v1 0/5] gpiolib: acpi: Refactor to shrink the code by ~8%
Posted by Andy Shevchenko 1 week, 1 day ago
A simple refactoring of the GPIO ACPI library parts to get an impressive
~8% code shrink on x86_64 and ~2% on x86_32. Also reduces a C code a bit.

Andy Shevchenko (5):
  gpiolib: acpi: Improve struct acpi_gpio_info memory footprint
  gpiolib: acpi: Remove index parameter from acpi_gpio_property_lookup()
  gpiolib: acpi: Reduce memory footprint for struct acpi_gpio_params
  gpiolib: acpi: Reuse struct acpi_gpio_params in struct
    acpi_gpio_lookup
  gpiolib: acpi: Deduplicate some code in __acpi_find_gpio()

 drivers/gpio/gpiolib-acpi.c   | 138 +++++++++++++++++-----------------
 include/linux/gpio/consumer.h |   2 +-
 2 files changed, 68 insertions(+), 72 deletions(-)

-- 
2.47.2