device property: Constify device child node APIs
[ Upstream commit 7952cd2b ] The device parameter is not altered in the device child node APIs, constify them. Signed-off-by:Andy Shevchenko <andriy.shevchenko@linux.intel.com> Acked-by:
Heikki Krogerus <heikki.krogerus@linux.intel.com> Reviewed-by:
Sakari Ailus <sakari.ailus@linux.intel.com> Link: https://lore.kernel.org/r/20221004092129.19412-5-andriy.shevchenko@linux.intel.com Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org> Stable-dep-of: 73b03b27 ("leds: flash: mt6360: Fix device_for_each_child_node() refcounting in error paths") Signed-off-by:
Sasha Levin <sashal@kernel.org>
Loading