mfd: kempld: Remove custom DMI matching code
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 23 Apr 2024 21:06:44 +0000 (00:06 +0300)
committerLee Jones <lee@kernel.org>
Fri, 10 May 2024 14:39:17 +0000 (15:39 +0100)
commit9e36775c22c74015dfa438263a00bdd169235a21
treec21f81e0513616ff1722abc8463be62c83127279
parent20677b34cf326262f2ba0a5eccf66d07e30c760f
mfd: kempld: Remove custom DMI matching code

The ->init() open codes the functionality of DMI matching code.
Moreover, all DMI quirks are using the same callback and driver_data.
With this in mind, refactor the DMI matching code.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20240423210706.3709568-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Lee Jones <lee@kernel.org>
drivers/mfd/kempld-core.c