cpufreq: berlin: Use generic platdev driver
authorViresh Kumar <viresh.kumar@linaro.org>
Fri, 22 Apr 2016 11:28:40 +0000 (16:58 +0530)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 25 Apr 2016 14:18:23 +0000 (16:18 +0200)
commita59511d1daa6406eede58a79f99250ffcd9a3566
treeaee68e2c465e567748b06ba902f64ab689436745
parente92bb16674c5156ea9230ba7a3ab6d490750888f
cpufreq: berlin: 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: Antoine Tenart <antoine.tenart@free-electrons.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
arch/arm/mach-berlin/berlin.c
drivers/cpufreq/cpufreq-dt-platdev.c