cpufreq: sunxi: Use generic platdev driver
authorViresh Kumar <viresh.kumar@linaro.org>
Fri, 22 Apr 2016 11:28:45 +0000 (16:58 +0530)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 25 Apr 2016 14:18:24 +0000 (16:18 +0200)
commit117d4f59affa869f819ec53ed0cd54aedfdeffa0
tree1c2d65998b582c6ccd762112e0bdb50ea0f4df1c
parenta399dc9fc5005321cebee6589d6bca780ed99c18
cpufreq: sunxi: Use generic platdev driver

The cpufreq-dt-platdev driver supports creation of cpufreq-dt platform
device now, reuse that and remove similar code from platform code.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
arch/arm/mach-sunxi/sunxi.c
drivers/cpufreq/cpufreq-dt-platdev.c