aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/platform/x86/ibm_rtl.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-03-13 19:18:43 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-03-17 15:16:50 +0100
commit2bd5c63978b771462da10d8771f56a1e656501d9 (patch)
treebd1ad401d7903c859990feb6ed7f08bb02c897f2 /drivers/platform/x86/ibm_rtl.c
parentdriver core: device: mark struct class in struct device as constant (diff)
downloadlinux-2bd5c63978b771462da10d8771f56a1e656501d9.tar.gz
linux-2bd5c63978b771462da10d8771f56a1e656501d9.zip
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 'drivers/platform/x86/ibm_rtl.c')
0 files changed, 0 insertions, 0 deletions