summaryrefslogtreecommitdiff
path: root/drivers/cpufreq/s3c24xx-cpufreq-debugfs.c
diff options
context:
space:
mode:
authorDave Gerlach <d-gerlach@ti.com>2018-11-13 22:30:40 +0300
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2018-11-19 13:26:06 +0300
commitd98ccfc3948ab63152494bb6b9c17e15295c0310 (patch)
tree0aed914a6aadd78846703dd236baa8f6bb75a20d /drivers/cpufreq/s3c24xx-cpufreq-debugfs.c
parent9ff01193a20d391e8dbce4403dd5ef87c7eaaca6 (diff)
downloadlinux-d98ccfc3948ab63152494bb6b9c17e15295c0310.tar.xz
cpufreq: ti-cpufreq: Only register platform_device when supported
Currently the ti-cpufreq driver blindly registers a 'ti-cpufreq' to force the driver to probe on any platforms where the driver is built in. However, this should only happen on platforms that actually can make use of the driver. There is already functionality in place to match the SoC compatible so let's factor this out into a separate call and make sure we find a match before creating the ti-cpufreq platform device. Reviewed-by: Johan Hovold <johan@kernel.org> Signed-off-by: Dave Gerlach <d-gerlach@ti.com> Acked-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/cpufreq/s3c24xx-cpufreq-debugfs.c')
0 files changed, 0 insertions, 0 deletions