[PATCH 4.19 038/118] cpufreq: ti-cpufreq: Only register platform_device when supported