mirror of
https://github.com/torvalds/linux.git
synced 2026-11-25 16:02:57 +00:00
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 <[email protected]> Signed-off-by: Jori Koolstra <[email protected]> Acked-by: Rodolfo Giometti <[email protected]> Reviewed-by: Greg Kroah-Hartman <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>