diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-03-13 21:18:43 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-03-17 17:16:50 +0300 |
commit | 2bd5c63978b771462da10d8771f56a1e656501d9 (patch) | |
tree | bd1ad401d7903c859990feb6ed7f08bb02c897f2 /crypto/acompress.c | |
parent | 9fa120fbd507e58af3494b8765427fdc8181e1eb (diff) | |
download | linux-2bd5c63978b771462da10d8771f56a1e656501d9.tar.xz |
driver core: device: make device_create*() take a const struct class *
The functions device_create() and device_create_with_groups() do not
modify the struct class passed into it, so enforce this by changing the
function parameters to be struct const class.
Cc: "Rafael J. Wysocki" <rafael@kernel.org>
Link: https://lore.kernel.org/r/20230313181843.1207845-12-gregkh@linuxfoundation.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'crypto/acompress.c')
0 files changed, 0 insertions, 0 deletions