cpufreq: Store cpufreq policies in a list
authorLukasz Majewski <l.majewski@samsung.com>
Tue, 2 Jul 2013 16:01:10 +0000 (18:01 +0200)
committerChanho Park <chanho61.park@samsung.com>
Tue, 18 Nov 2014 02:45:03 +0000 (11:45 +0900)
commit712466001bbac86602ae072e94f96389a7f95ef5
treee8db0985c3aa667d760cb6b227500afd2e3be64c
parent4f5df8dd99e693307887e9db23959e488723bce0
cpufreq: Store cpufreq policies in a list

Policies available in a cpufreq framework are now linked together. They are
accessible via cpufreq_policy_list defined at cpufreq core.

Signed-off-by: Lukasz Majewski <l.majewski@samsung.com>
Signed-off-by: Myungjoo Ham <myungjoo.ham@samsung.com>
Changes for v6:
- Move policy list entry delete code to __cpufreq_remove_dev()

Changes for v5:
- Call list_add() only when device successfully added

Changes for v4:
- New patch
drivers/cpufreq/cpufreq.c
include/linux/cpufreq.h