summaryrefslogtreecommitdiff
path: root/fs/kernfs
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-11-21 12:46:49 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-11-22 19:34:55 +0300
commit9f041c5d8296b3a04cf3ead473a124fb538490dc (patch)
tree148765120036b9653232c90a69184eebd6e71199 /fs/kernfs
parenta53d1acc978321734a8fd7388f2c050a7219ab69 (diff)
downloadlinux-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