[PATCH v3 04/23] mfd: lp87565: Explicitly set driver data for the generic dt compatible

From: Uwe Kleine-König (The Capable Hub)

Date: Thu Jul 09 2026 - 13:03:25 EST


The driver relies on .data being (void *)LP87565_DEVICE_TYPE_UNKNOWN
(i.e. NULL) for the generic device tree compatible. Make this explicit.

Signed-off-by: Uwe Kleine-König (The Capable Hub) <u.kleine-koenig@xxxxxxxxxxxx>
---
drivers/mfd/lp87565.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/drivers/mfd/lp87565.c b/drivers/mfd/lp87565.c
index b78ae79df5fa..efea1ba82811 100644
--- a/drivers/mfd/lp87565.c
+++ b/drivers/mfd/lp87565.c
@@ -26,7 +26,10 @@ static const struct mfd_cell lp87565_cells[] = {
};

static const struct of_device_id of_lp87565_match_table[] = {
- { .compatible = "ti,lp87565", },
+ {
+ .compatible = "ti,lp87565",
+ .data = (void *)LP87565_DEVICE_TYPE_UNKNOWN,
+ },
{
.compatible = "ti,lp87524-q1",
.data = (void *)LP87565_DEVICE_TYPE_LP87524_Q1,
--
2.55.0.11.g153666a7d9bb