diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-07-08 10:15:45 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-07-10 09:36:02 +0200 |
commit | ab7a880263c30b1675850a584c206770f5545c2f (patch) | |
tree | dfde1a68789354fb648e6de1fc19c49804e27dfb /drivers/fpga/tests | |
parent | a23b018c3bf646274f02edd46bf448c20c826d94 (diff) |
driver core: make driver_[create|remove]_file take a const *
The functions driver_create_file() and driver_remove_file() do not
modify the struct device_driver structure directly, so they are safe to
be marked as a constant pointer type.
Cc: "Rafael J. Wysocki" <rafael@kernel.org>
Link: https://lore.kernel.org/r/2024070844-volley-hatchling-c812@gregkh
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/fpga/tests')
0 files changed, 0 insertions, 0 deletions