summaryrefslogtreecommitdiffstats
path: root/sound/usb/mixer.c
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2013-08-08 20:11:24 -0400
committerTejun Heo <tj@kernel.org>2013-08-08 20:11:24 -0400
commit3b287a505ef4024634beb12a93773254909d5dae (patch)
tree8cd2892ea52ec1f17a75c333daebd8d967d1f7c4 /sound/usb/mixer.c
parent182446d087906de40e514573a92a97b203695f71 (diff)
downloadop-kernel-dev-3b287a505ef4024634beb12a93773254909d5dae.zip
op-kernel-dev-3b287a505ef4024634beb12a93773254909d5dae.tar.gz
cgroup: convert cgroup_next_sibling() to cgroup_next_child()
cgroup is transitioning to using css (cgroup_subsys_state) as the main subsys interface handle instead of cgroup and the iterators will be updated to use css too. The iterators need to walk the cgroup hierarchy and return the css's matching the origin css, which is a bit cumbersome to open code. This patch converts cgroup_next_sibling() to cgroup_next_child() so that it can handle all steps of direct child iteration. This will be used to update iterators to take @css instead of @cgrp. In addition to the new iteration init handling, cgroup_next_child() is restructured so that the different branches share the end of iteration condition check. This patch doesn't change any behavior. Signed-off-by: Tejun Heo <tj@kernel.org> Acked-by: Li Zefan <lizefan@huawei.com>
Diffstat (limited to 'sound/usb/mixer.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud