From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
To: Jori Koolstra <jkoolstra@xs4all.nl>
Cc: giometti@enneenne.com, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] pps: change pps_class to a const struct
Date: Mon, 2 Mar 2026 11:42:34 -0500 [thread overview]
Message-ID: <2026030216-deploy-sabbath-c164@gregkh> (raw)
In-Reply-To: <20260302151132.3302993-1-jkoolstra@xs4all.nl>
On Mon, Mar 02, 2026 at 04:11:32PM +0100, Jori Koolstra wrote:
> The class_create() call has been deprecated in favor of class_register()
> as the driver core now allows for a struct class to be in read-only
> memory. Change pps_class to be a const struct class and drop the
> class_create() call.
>
> Suggested-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
> Signed-off-by: Jori Koolstra <jkoolstra@xs4all.nl>
> ---
> drivers/pps/pps.c | 24 ++++++++++++++----------
> 1 file changed, 14 insertions(+), 10 deletions(-)
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
prev parent reply other threads:[~2026-03-02 16:42 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-02 15:11 [PATCH] pps: change pps_class to a const struct Jori Koolstra
2026-03-02 15:24 ` Rodolfo Giometti
2026-03-02 16:43 ` Greg Kroah-Hartman
2026-03-02 17:03 ` Rodolfo Giometti
2026-03-02 19:09 ` Greg Kroah-Hartman
2026-04-01 17:01 ` Jori Koolstra
2026-03-02 16:42 ` Greg Kroah-Hartman [this message]
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=2026030216-deploy-sabbath-c164@gregkh \
--to=gregkh@linuxfoundation.org \
--cc=giometti@enneenne.com \
--cc=jkoolstra@xs4all.nl \
--cc=linux-kernel@vger.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox