diff options
author | 2020-05-07 12:49:16 +0200 | |
---|---|---|
committer | 2020-05-09 11:40:25 +0200 | |
commit | 132565d8ec096a5a043f96092cfa4821d970d268 (patch) | |
tree | 921eb3576cf482019f614a55c9ea93a03b5439b8 /scripts/gdb/linux/utils.py | |
parent | Linux 5.7-rc4 (diff) | |
download | linux-rng-132565d8ec096a5a043f96092cfa4821d970d268.tar.xz linux-rng-132565d8ec096a5a043f96092cfa4821d970d268.zip |
ACPI: utils: Add acpi_evaluate_reg() helper
With a recent fix to the pinctrl-cherryview driver we now have
2 drivers open-coding the parameter building / passing for calling
_REG on an ACPI handle.
Add a helper for this, so that these 2 drivers can be converted to this
helper.
Suggested-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions