A couple of cleanups for the clk-lpss-atom driver.
No functional changes intended.
On top of them, one feature is added.
Changelog v2:
- reshuffled code to add variables when it's needed (Stephen)
- added third patch
v1: 20240822161452.1780149-1-andriy.shevchenko@linux.intel.com
Andy Shevchenko (3):
clk: x86: lpss-atom: Use predefined constants from units.h
clk: x86: lpss-atom: Use temporary variable for struct device
clk: x86: lpss-atom: Read frequency from the property
drivers/clk/x86/clk-lpss-atom.c | 22 ++++++++++++++++++----
1 file changed, 18 insertions(+), 4 deletions(-)
--
2.50.1