| commit | cce5c62a75d667059cbb9c63ea009294f2de3955 | [log] [tgz] |
|---|---|---|
| author | Ivan Orlov <ivan.orlov0322@gmail.com> | Sun Jun 18 12:59:50 2023 +0400 |
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Tue Oct 07 14:55:58 2025 +0200 |
| tree | fd94349ae92b6652386765636d792445621ea20a | |
| parent | df4f001f83846f82f064d84227826ff27927e0c8 [diff] |
extcon: make extcon_class a static const structure Now that the driver core allows for struct class to be in read-only memory, move the extcon_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@linuxfoundation.org> Signed-off-by: Ivan Orlov <ivan.orlov0322@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>