]> git.baikalelectronics.ru Git - kernel.git/commit
mfd: kempld-core: Check for DMI definition before ACPI
authorMichael Brunner <Michael.Brunner@kontron.com>
Mon, 16 Nov 2020 06:42:24 +0000 (06:42 +0000)
committerLee Jones <lee.jones@linaro.org>
Fri, 27 Nov 2020 07:51:47 +0000 (07:51 +0000)
commit0cf47af558a1bf8caef2cb0dc2377bc5be5c1eeb
tree971a66beec1e6b9a470da3dbbcd1a577c415b24d
parent9d79547ed3a31409111825ab211433e37f1bb0e0
mfd: kempld-core: Check for DMI definition before ACPI

Change the detection order to priorize DMI table entries over available
ACPI entries.

This makes it more easy for product developers to patch product specific
handling into the driver.
Furthermore it allows to simplify the implementation a bit and
especially to remove the need to force synchronous probing.

Signed-off-by: Michael Brunner <michael.brunner@kontron.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/kempld-core.c