diff options
author | Ioana Ciornei <ioana.ciornei@nxp.com> | 2021-06-17 15:29:04 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-05-30 14:44:01 +0300 |
commit | d4992b2b5c68d6a8966bf2137a3d720548fc3d01 (patch) | |
tree | 1b520362bd6bddd83ad65c27afbaf19baa2f707d /include/media | |
parent | f53660ec669f60c772fdf7d75d1c24d288547cee (diff) | |
download | linux-d4992b2b5c68d6a8966bf2137a3d720548fc3d01.tar.xz |
driver core: add a helper to setup both the of_node and fwnode of a device
[ Upstream commit 43e76d463c09a0272b84775bcc727c1eb8b384b2 ]
There are many places where both the fwnode_handle and the of_node of a
device need to be populated. Add a function which does both so that we
have consistency.
Suggested-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Stable-dep-of: a26cc2934331 ("drm/mipi-dsi: Set the fwnode for mipi_dsi_device")
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include/media')
0 files changed, 0 insertions, 0 deletions