staging: pi433: make pi433_class constant
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 5 Oct 2023 13:55:13 +0000 (15:55 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 6 Oct 2023 13:38:34 +0000 (15:38 +0200)
commitf267da65bb6b2c33cfd9f8533def17f1db1d4fdf
tree324b1e959ad88fc3603cec3f71a50bf254b1be84
parent0c99ee4e8f4bdfc9347de2e161d7efcdacce853b
staging: pi433: make pi433_class constant

Now that the driver core allows for struct class to be in read-only
memory, making all 'class' structures to be declared at build time
placing them into read-only memory, instead of having to be dynamically
allocated at load time.

Link: https://lore.kernel.org/r/2023100512-sweat-abruptly-2445@gregkh
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/pi433/pi433_if.c