0047-v6.6-clk-qcom-gcc-ipq6018-drop-redundant-F-define.patch 884 B

123456789101112131415161718192021222324252627
  1. From 923f7d678b2ae3d522543058514d5605c185633b Mon Sep 17 00:00:00 2001
  2. From: Christian Marangi <[email protected]>
  3. Date: Mon, 17 Apr 2023 19:44:07 +0200
  4. Subject: [PATCH] clk: qcom: gcc-ipq6018: drop redundant F define
  5. The same exact F frequency table entry is defined in clk-rcg.h
  6. Drop the redundant define to cleanup code.
  7. Signed-off-by: Christian Marangi <[email protected]>
  8. Reviewed-by: Konrad Dybcio <[email protected]>
  9. Signed-off-by: Bjorn Andersson <[email protected]>
  10. Link: https://lore.kernel.org/r/[email protected]
  11. ---
  12. drivers/clk/qcom/gcc-ipq6018.c | 2 --
  13. 1 file changed, 2 deletions(-)
  14. --- a/drivers/clk/qcom/gcc-ipq6018.c
  15. +++ b/drivers/clk/qcom/gcc-ipq6018.c
  16. @@ -26,8 +26,6 @@
  17. #include "clk-regmap-mux.h"
  18. #include "reset.h"
  19. -#define F(f, s, h, m, n) { (f), (s), (2 * (h) - 1), (m), (n) }
  20. -
  21. enum {
  22. P_XO,
  23. P_BIAS_PLL,