Re: [PATCH] i2c: dev: make i2c_dev_class a static const structure

From: Wolfram Sang
Date: Tue Sep 19 2023 - 16:10:37 EST


On Thu, Aug 10, 2023 at 09:46:18PM +0400, Ivan Orlov wrote:
> Now that the driver core allows for struct class to be in read-only
> memory, move the i2c_dev_class structure to be declared at build time
> placing it into read-only memory, instead of having to be dynamically
> allocated at boot time.
>
> Suggested-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
> Signed-off-by: Ivan Orlov <ivan.orlov0322@xxxxxxxxx>

Applied to for-next, thanks!

Attachment: signature.asc
Description: PGP signature