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)
commitf31cc6afabed4487956118af1ebe3ac603fa92b8
tree971a66beec1e6b9a470da3dbbcd1a577c415b24d
parent129989d5ca63884572d22a5a271d93d0eddf8a52
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