From: Rodolfo Giometti <giometti@enneenne.com>
To: Greg KH <gregkh@linuxfoundation.org>,
Jori Koolstra <jkoolstra@xs4all.nl>
Cc: linux-kernel@vger.kernel.org, kees@kernel.org
Subject: Re: [PATCH] pps: change pps_gen_class to a const struct
Date: Mon, 2 Mar 2026 15:44:03 +0100 [thread overview]
Message-ID: <e93022ed-6ebe-428a-b0c9-0cb5e341f7b6@enneenne.com> (raw)
In-Reply-To: <2026030258-drinkable-shower-6c5c@gregkh>
On 3/2/26 15:27, Greg KH wrote:
> On Mon, Mar 02, 2026 at 03:24:36PM +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_gen_class to be a const struct class and drop the
>> class_create() call.
>>
>> Signed-off-by: Jori Koolstra <jkoolstra@xs4all.nl>
>> ---
>> drivers/pps/generators/pps_gen.c | 22 ++++++++++++----------
>> 1 file changed, 12 insertions(+), 10 deletions(-)
>
> Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Acked-by: Rodolfo Giometti <giometti@enneenne.com>
--
GNU/Linux Solutions e-mail: giometti@enneenne.com
Linux Device Driver giometti@linux.it
Embedded Systems phone: +39 349 2432127
UNIX programming
prev parent reply other threads:[~2026-03-02 14:47 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-02 14:24 Jori Koolstra
2026-03-02 14:27 ` Greg KH
2026-03-02 14:44 ` Rodolfo Giometti [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=e93022ed-6ebe-428a-b0c9-0cb5e341f7b6@enneenne.com \
--to=giometti@enneenne.com \
--cc=gregkh@linuxfoundation.org \
--cc=jkoolstra@xs4all.nl \
--cc=kees@kernel.org \
--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
all inboxes | Powered by JetHome®