]> git.karo-electronics.de Git - karo-tx-linux.git/commit
cpufreq: Extract non-interface related stuff from cpufreq_add_dev_interface
authorSrivatsa S. Bhat <srivatsa.bhat@linux.vnet.ibm.com>
Mon, 29 Jul 2013 22:54:23 +0000 (04:24 +0530)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 30 Jul 2013 12:16:00 +0000 (14:16 +0200)
commitf2f7de9236772bd098afd3aa30325c891d016ca2
tree232d0e0ae2e81cbe08f80a71d246c29d254a8d86
parenta22da27aa0fe5e91e1f82c30d54038c6217728b5
cpufreq: Extract non-interface related stuff from cpufreq_add_dev_interface

cpufreq_add_dev_interface() includes the work of exposing the interface
to the device, as well as a lot of unrelated stuff. Move the latter to
cpufreq_add_dev(), where it is more appropriate.

Signed-off-by: Srivatsa S. Bhat <srivatsa.bhat@linux.vnet.ibm.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/cpufreq.c