[v2,3/3] clk: fractional-divider: Regroup inclusions

Message ID 20221122130732.48537-3-andriy.shevchenko@linux.intel.com
State New
Headers
Series [v2,1/3] clk: fractional-divider: Split out clk_fd_get_div() helper |

Commit Message

Andy Shevchenko Nov. 22, 2022, 1:07 p.m. UTC
  For the better maintenance regroup inclusions as follows:
- split CCF related headers in its own group
- order groups from generic to particular
- sort each group alphabetically

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
v2: dropped duplicate of linux/clk-provider.h
 drivers/clk/clk-fractional-divider.c | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)
  

Comments

Stephen Boyd Nov. 23, 2022, 2:22 a.m. UTC | #1
Quoting Andy Shevchenko (2022-11-22 05:07:32)
> For the better maintenance regroup inclusions as follows:
> - split CCF related headers in its own group
> - order groups from generic to particular
> - sort each group alphabetically
> 
> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
> ---

Applied to clk-next
  

Patch

diff --git a/drivers/clk/clk-fractional-divider.c b/drivers/clk/clk-fractional-divider.c
index b6b52b79d671..6affe3565025 100644
--- a/drivers/clk/clk-fractional-divider.c
+++ b/drivers/clk/clk-fractional-divider.c
@@ -38,14 +38,15 @@ 
  * saturated values.
  */
 
-#include <linux/clk-provider.h>
 #include <linux/debugfs.h>
+#include <linux/device.h>
 #include <linux/io.h>
 #include <linux/math.h>
 #include <linux/module.h>
-#include <linux/device.h>
-#include <linux/slab.h>
 #include <linux/rational.h>
+#include <linux/slab.h>
+
+#include <linux/clk-provider.h>
 
 #include "clk-fractional-divider.h"