ACPI: bus: Introduce acpi_dev_for_each_child()
mainline inclusion from mainline-v5.19-rc commit cf6ba075 category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I67QNJ CVE: NA Reference: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=cf6ba0750a22a54f5101986401271429995cc4a0 -------------------------------------------- Introduce a wrapper around device_for_each_child() to iterate over the children of a given ACPI device object. This function will be used in subsequent change sets. Signed-off-by: NRafael J. Wysocki <rafael.j.wysocki@intel.com> Reviewed-by: NMika Westerberg <mika.westerberg@linux.intel.com> Signed-off-by: NZhang Zekun <zhangzekun11@huawei.com> Reviewed-by: NKefeng Wang <wangkefeng.wang@huawei.com>
Showing
想要评论请 注册 或 登录