cpufreq: tegra124: Allow building as a module
authorAaron Kling <webgeek1234@gmail.com>
Mon, 7 Jul 2025 21:17:15 +0000 (16:17 -0500)
committerViresh Kumar <viresh.kumar@linaro.org>
Wed, 9 Jul 2025 08:11:58 +0000 (13:41 +0530)
commit0ae93389b6c84fbbc6414a5c78f50d65eea8cf35
treeafef60fbd1c8d94586b51586a429865f5a327c1b
parentd812734842f8ab3100e7cee8716b35be5a31a22a
cpufreq: tegra124: Allow building as a module

This requires four changes:
* Using the cpufreq-dt register helper to establish a hard dependency
  for depmod to track
* Adding a remove routine to remove the cpufreq-dt device
* Adding a exit routine to handle cleaning up the driver
* Populating module license

Signed-off-by: Aaron Kling <webgeek1234@gmail.com>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
drivers/cpufreq/Kconfig.arm
drivers/cpufreq/tegra124-cpufreq.c