mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v1] spmi: Drop struct spmi_device_id
@ 2026-11-25 11:21 Uwe Kleine-König
  2026-11-25 14:09 ` Pawel Zalewski
  2026-11-25 17:50 ` Uwe Kleine-König
  0 siblings, 2 replies; 4+ messages in thread
From: Uwe Kleine-König @ 2026-11-25 11:21 UTC (permalink / raw)
  To: Stephen Boyd, Abel Vesa; +Cc: Pawel Zalewski, linux-kernel

This was introduced by commit 5a86bf343976 ("spmi: Linux driver
framework for SPMI") in 2014 for Linux 3.15 and already then was unused
and no user was added since then.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@baylibre.com>
---
 include/linux/device-id/spmi.h  | 17 -----------------
 include/linux/mod_devicetable.h |  1 -
 2 files changed, 18 deletions(-)
 delete mode 100644 include/linux/device-id/spmi.h

diff --git a/include/linux/device-id/spmi.h b/include/linux/device-id/spmi.h
deleted file mode 100644
index a821c42cfc9a..000000000000
--- a/include/linux/device-id/spmi.h
+++ /dev/null
@@ -1,17 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0 */
-#ifndef LINUX_DEVICE_ID_SPMI_H
-#define LINUX_DEVICE_ID_SPMI_H
-
-#ifdef __KERNEL__
-typedef unsigned long kernel_ulong_t;
-#endif
-
-#define SPMI_NAME_SIZE	32
-#define SPMI_MODULE_PREFIX "spmi:"
-
-struct spmi_device_id {
-	char name[SPMI_NAME_SIZE];
-	kernel_ulong_t driver_data;	/* Data private to the driver */
-};
-
-#endif /* ifndef LINUX_DEVICE_ID_SPMI_H */
diff --git a/include/linux/mod_devicetable.h b/include/linux/mod_devicetable.h
index a69947f2c1dc..fd21238c99f5 100644
--- a/include/linux/mod_devicetable.h
+++ b/include/linux/mod_devicetable.h
@@ -51,7 +51,6 @@
 #include "device-id/serio.h"
 #include "device-id/slim.h"
 #include "device-id/spi.h"
-#include "device-id/spmi.h"
 #include "device-id/ssam.h"
 #include "device-id/ssb.h"
 #include "device-id/tb.h"

base-commit: 3dd8c790a7b7027abdd568e36db5e82ffaea7c77
-- 
2.56.0.rc1


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-11-25 18:01 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-25 11:21 [PATCH v1] spmi: Drop struct spmi_device_id Uwe Kleine-König
2026-11-25 14:09 ` Pawel Zalewski
2026-11-25 17:50 ` Uwe Kleine-König
2026-11-25 18:01   ` Uwe Kleine-König

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®