cpufreq: mt8173: use list_for_each_entry*()
authorGeliang Tang <geliangtang@163.com>
Tue, 5 Apr 2016 02:38:06 +0000 (10:38 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 8 Apr 2016 23:27:54 +0000 (01:27 +0200)
commitd2499d05f0f286a754c26e2bda62210d6a65a774
tree8c359527e71709cf98ca1028451f9241758236d5
parent22590efb98ae0c84f798a9938c0b6d97bc89adf5
cpufreq: mt8173: use list_for_each_entry*()

Use list_for_each_entry*() instead of list_for_each*() to simplify
the code.

Signed-off-by: Geliang Tang <geliangtang@163.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/mt8173-cpufreq.c