summaryrefslogtreecommitdiff
path: root/drivers/hsi/hsi_core.c
diff options
context:
space:
mode:
authorMiquel Raynal <miquel.raynal@bootlin.com>2023-04-04 20:21:15 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-04-05 20:41:10 +0300
commit5c3d15e127ebfc0754cd18def7124633b6d46672 (patch)
treec35eb5cc4366762ff895b4e53661227b58e0f5e3 /drivers/hsi/hsi_core.c
parent2187af84e5d0062090f5e0e89281a00d0b8afa40 (diff)
downloadlinux-5c3d15e127ebfc0754cd18def7124633b6d46672.tar.xz
of: Update of_device_get_modalias()
This function only needs a "struct device_node" to work, but for convenience the author (and only user) of this helper did use a "struct device" and put it in device.c. Let's convert this helper to take a "struct device node" instead. This change asks for two additional changes: renaming it "of_modalias()" to fit the current naming, and moving it outside of device.c which will be done in a follow-up commit. Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Reviewed-by: Rob Herring <robh@kernel.org> Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> Link: https://lore.kernel.org/r/20230404172148.82422-8-srinivas.kandagatla@linaro.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/hsi/hsi_core.c')
0 files changed, 0 insertions, 0 deletions