diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-11-21 12:46:49 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-11-22 19:34:55 +0300 |
commit | 9f041c5d8296b3a04cf3ead473a124fb538490dc (patch) | |
tree | 148765120036b9653232c90a69184eebd6e71199 /fs/kernfs | |
parent | a53d1acc978321734a8fd7388f2c050a7219ab69 (diff) | |
download | linux-9f041c5d8296b3a04cf3ead473a124fb538490dc.tar.xz |
driver core: pass a const * into of_device_uevent()
of_device_uevent() does not modify the struct device * passed into it,
so make it a const * to enforce this. Also the documentation for the
function was really wrong so fix that up at the same time.
Cc: Rob Herring <robh+dt@kernel.org>
Cc: Frank Rowand <frowand.list@gmail.com>
Cc: devicetree@vger.kernel.org
Link: https://lore.kernel.org/r/20221121094649.1556002-5-gregkh@linuxfoundation.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/kernfs')
0 files changed, 0 insertions, 0 deletions