linux/drivers/pps/generators
Jori Koolstra 4dc0c899b1 pps: change pps_gen_class to a const struct
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>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Acked-by: Rodolfo Giometti <giometti@enneenne.com>
Link: https://patch.msgid.link/20260302142436.3292766-1-jkoolstra@xs4all.nl
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2026-04-02 16:32:52 +02:00
..
Kconfig pps: generators: remove broken pps_gen_parport driver 2026-01-27 15:54:27 +01:00
Makefile pps: generators: remove broken pps_gen_parport driver 2026-01-27 15:54:27 +01:00
pps_gen_tio.c pps: generators: tio: fix platform_set_drvdata() 2025-04-15 18:22:32 +02:00
pps_gen-dummy.c treewide: Switch/rename to timer_delete[_sync]() 2025-04-05 10:30:12 +02:00
pps_gen.c pps: change pps_gen_class to a const struct 2026-04-02 16:32:52 +02:00
sysfs.c pps: generators: replace copy of pps-gen info struct with const pointer 2025-02-21 10:46:49 +01:00