mfd: kempld: Switch back to earlier ->init() behavior
authorHeijligen, Thomas <thomas.heijligen@secunet.com>
Thu, 31 Jul 2025 14:45:00 +0000 (14:45 +0000)
committerLee Jones <lee@kernel.org>
Wed, 1 Oct 2025 09:28:12 +0000 (10:28 +0100)
commit309e65d151ab9be1e7b01d822880cd8c4e611dff
treef95643aebf0474a7e76c48a274165bc21132b7e3
parent597b398bc27c84f3998c2169ad7ce74e8404533a
mfd: kempld: Switch back to earlier ->init() behavior

Commit 9e36775c22c7 ("mfd: kempld: Remove custom DMI matching code")
removes the ability to load the driver if no matching system DMI data
is found. Before this commit the driver could be loaded using
alternative methods such as ACPI or `force_device_id` in the absence
of a matching system DMI entry.

Restore this ability while keeping the refactored
`platform_device_info` table.

Signed-off-by: Thomas Heijligen <thomas.heijligen@secunet.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/7d2c7e92253d851194a781720051536cca2722b8.camel@secunet.com
Signed-off-by: Lee Jones <lee@kernel.org>
drivers/mfd/kempld-core.c