]> git.baikalelectronics.ru Git - kernel.git/commit
opp: use list_del_init instead of list_del/INIT_LIST_HEAD
authorYang Yingliang <yangyingliang@huawei.com>
Tue, 18 May 2021 04:49:10 +0000 (12:49 +0800)
committerViresh Kumar <viresh.kumar@linaro.org>
Thu, 20 May 2021 04:02:40 +0000 (09:32 +0530)
commitac9fd3c8034011cc10a4c161b70a5837d95203f6
tree72d2122a834b876a122391c0cd0993b5eb8a3c27
parent6efb943b8616ec53a5e444193dccf1af9ad627b5
opp: use list_del_init instead of list_del/INIT_LIST_HEAD

Using list_del_init() instead of list_del() + INIT_LIST_HEAD()
to simpify the code.

Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
drivers/opp/of.c