diff options
| author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2019-02-01 12:59:42 +0300 |
|---|---|---|
| committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2019-02-01 13:45:53 +0300 |
| commit | c746b6b67e168f27b04563b0b429aa3e8be27011 (patch) | |
| tree | bd85c72002be6b6294af85ed14b7595e19b33806 /include/linux/fpga/fpga-bridge.h | |
| parent | 1568426c491ad7e17a8d9e0e4d3397ee107af899 (diff) | |
| download | linux-c746b6b67e168f27b04563b0b429aa3e8be27011.tar.xz | |
ACPI: EC: Make acpi_ec_dsdt_probe() more straightforward
Since acpi_ec_dsdt_probe() returns early if boot_ec is set, it is
always unset when that function calls acpi_config_boot_ec() (passing
ec->handle as the handle argument to it). Thus it is not really
useful to call acpi_config_boot_ec() at that point. It is sufficient to
call acpi_ec_setup() directly and (if that is successful) set boot_ec,
so make acpi_ec_dsdt_probe() do that and avoid some pointless checks
in acpi_config_boot_ec().
No intentional functional impact except for a changed message.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'include/linux/fpga/fpga-bridge.h')
0 files changed, 0 insertions, 0 deletions
