diff options
| author | Greg Kroah-Hartman <[email protected]> | 2024-07-08 08:15:46 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2024-07-10 07:41:57 +0000 |
| commit | f8fb469147e7db57e3f78d46f3f427705b4a1935 (patch) | |
| tree | 7b8249447598ab655067dd5be0d115eda522ed36 /drivers/fpga/dfl.c | |
| parent | driver core: make driver_[create|remove]_file take a const * (diff) | |
| download | kernel-f8fb469147e7db57e3f78d46f3f427705b4a1935.tar.gz kernel-f8fb469147e7db57e3f78d46f3f427705b4a1935.zip | |
driver core: make driver_find_device() take a const *
The function driver_find_device() does not modify the struct
device_driver structure directly, so it is safe to be marked as a
constant pointer type. As that is fixed up, also change the function
signature on the inline functions that call this, which are:
driver_find_device_by_name()
driver_find_device_by_of_node()
driver_find_device_by_devt()
driver_find_next_device()
driver_find_device_by_acpi_dev()
Cc: "Rafael J. Wysocki" <[email protected]>
Link: https://lore.kernel.org/r/2024070849-broken-front-9eb5@gregkh
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/fpga/dfl.c')
0 files changed, 0 insertions, 0 deletions
