From: "Uwe Kleine-König" <u.kleine-koenig@baylibre.com>
To: Stephen Boyd <sboyd@kernel.org>, Abel Vesa <abelvesa@kernel.org>
Cc: Pawel Zalewski <pzalewski@thegoodpenguin.co.uk>,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH v1] spmi: Drop struct spmi_device_id
Date: Wed, 25 Nov 2026 18:50:15 +0100 [thread overview]
Message-ID: <awcfdfk1La-lwiMz@monoceros> (raw)
In-Reply-To: <20261125112158.938835-2-u.kleine-koenig@baylibre.com>
[-- Attachment #1: Type: text/plain, Size: 1402 bytes --]
On Wed, Nov 25, 2026 at 12:21:52PM +0100, Uwe Kleine-König wrote:
> 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 */
With further build tests done SPMI_NAME_SIZE is in use however. So for
now please disregard this patch, I guess I'll move it to another header
but will investigate the situation first.
Sorry
Uwe
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
next prev parent reply other threads:[~2026-11-25 17:50 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
2026-11-25 18:01 ` Uwe Kleine-König
2026-11-25 20:44 ` kernel test robot
2026-11-26 0:54 ` kernel test robot
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=awcfdfk1La-lwiMz@monoceros \
--to=u.kleine-koenig@baylibre.com \
--cc=abelvesa@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=pzalewski@thegoodpenguin.co.uk \
--cc=sboyd@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.