diff mbox series

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

Message ID 20221117155105.1486-3-andriy.shevchenko@linux.intel.com (mailing list archive)
State Superseded, archived
Headers show
Series [v1,1/3] clk: fractional-divider: Split out clk_fd_get_div() helper | expand

Commit Message

Andy Shevchenko Nov. 17, 2022, 3:51 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>
---
 drivers/clk/clk-fractional-divider.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

Comments

Andy Shevchenko Nov. 17, 2022, 4:17 p.m. UTC | #1
On Thu, Nov 17, 2022 at 05:51:05PM +0200, Andy Shevchenko wrote:
> 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

...

>  #include <linux/clk-provider.h>

Forgot removing this one.

Anyway, I will wait for comments and then will send a v2.
diff mbox series

Patch

diff --git a/drivers/clk/clk-fractional-divider.c b/drivers/clk/clk-fractional-divider.c
index b6b52b79d671..ebd007f5ce5d 100644
--- a/drivers/clk/clk-fractional-divider.c
+++ b/drivers/clk/clk-fractional-divider.c
@@ -40,12 +40,14 @@ 
 
 #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"