diff options
| author | Rafael J. Wysocki <[email protected]> | 2020-03-02 10:25:21 +0000 |
|---|---|---|
| committer | Rafael J. Wysocki <[email protected]> | 2020-03-02 10:25:21 +0000 |
| commit | 3d9b8dd8320de69945ea7ccd0d1a76464138ba37 (patch) | |
| tree | bf0c5601af1f42bda1ee8cfc4741c0c86ee6e98e /tools/perf/scripts/python/sctop.py | |
| parent | ACPI: EC: Simplify acpi_ec_add() (diff) | |
| download | kernel-3d9b8dd8320de69945ea7ccd0d1a76464138ba37.tar.gz kernel-3d9b8dd8320de69945ea7ccd0d1a76464138ba37.zip | |
ACPI: EC: Use fast path in acpi_ec_add() for DSDT boot EC
If the boot EC comes from the DSDT, its ACPI handle is equal to the
handle of a device object with the PNP0C09 device ID. If that
device object is passed to acpi_ec_add(), it is not necessary to
allocate a new EC structure for it and parse it, because that has
been done already, so change the function to use the fast path in
that case.
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions
