diff options
| author | Greg Kroah-Hartman <[email protected]> | 2023-01-11 12:30:09 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2023-01-27 13:45:40 +0100 |
| commit | 42bb5be8936f40a1d0e618766645e7fd0cbfe591 (patch) | |
| tree | a57c5dbf52f58ff6ca319e90c2555ba9b998978a /tools/perf/scripts/python/bin | |
| parent | a9b12f8b4e3309c4c25d39e7ab818943b9c48c1c (diff) | |
driver core: device_get_devnode() should take a const *
device_get_devnode() should take a constant * to struct device as it
does not modify it in any way, so modify the function definition to do
this and move it out of device.h as it does not need to be exposed to
the whole kernel tree.
Cc: Thomas Gleixner <[email protected]>
Cc: Jason Gunthorpe <[email protected]>
Cc: Ira Weiny <[email protected]>
Cc: Dan Williams <[email protected]>
Cc: Won Chung <[email protected]>
Acked-by: Rafael J. Wysocki <[email protected]>
Reviewed-by: Andy Shevchenko <[email protected]>
Acked-by: Hans de Goede <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions