clk: Remove a useless include
Subsystems (6)
PATCH 1/1 clk: Remove a useless include
<linux/rational.h> is not needed for these drivers. Remove the corresponding #include.
--- drivers/clk/clk-versaclock5.c | 1 - drivers/clk/meson/clk-pll.c | 1 - drivers/clk/rockchip/clk.c | 1 - 3 files changed, 3 deletions(-)
drivers/clk/clk-versaclock5.c +0 -1
@@ -20,7 +20,6 @@#include <linux/module.h> #include <linux/of.h> #include <linux/of_platform.h> -#include <linux/rational.h> #include <linux/regmap.h> #include <linux/slab.h>
drivers/clk/meson/clk-pll.c +0 -1
@@ -32,7 +32,6 @@#include <linux/io.h> #include <linux/math64.h> #include <linux/module.h> -#include <linux/rational.h> #include "clk-regmap.h" #include "clk-pll.h"
drivers/clk/rockchip/clk.c +0 -1
@@ -21,7 +21,6 @@#include <linux/mfd/syscon.h> #include <linux/regmap.h> #include <linux/reboot.h> -#include <linux/rational.h> #include "../clk-fractional-divider.h" #include "clk.h"
Signature · 1 line
2.34.1
Am Samstag, 12. November 2022, 22:43:03 CET schrieb Christophe JAILLET:
Quoted 8 lines
<
linux/rational.h> is not needed for these drivers. Remove the corresponding #include.Signed-off-by Christophe JAILLET <[email protected]>--- drivers/clk/clk-versaclock5.c | 1 - drivers/clk/meson/clk-pll.c | 1 - drivers/clk/rockchip/clk.c | 1 -
Clock-trees for soc families normally have different sub-maintainers, so depending on how we want to merge this, you might need to split this into 3 patches.
But at least for the Rockchip part, I'm also fine with the patch going in as a whole, so (for the Rockchip part):
Heiko
Quoted 2 lines
3 files changed, 3 deletions(-)
[...]
Quoted 13 lines
drivers/clk/rockchip/clk.c +0
-1@@ -21,7 +21,6 @@#include <linux/mfd/syscon.h> #include <linux/regmap.h> #include <linux/reboot.h> -#include <linux/rational.h> #include "../clk-fractional-divider.h" #include "clk.h"
Quoted 14 lines · Heiko Stübner
Am Samstag, 12. November 2022, 22:43:03 CET schrieb Christophe JAILLET:
Quoted 8 lines
<
linux/rational.h> is not needed for these drivers. Remove the corresponding #include.Signed-off-by Christophe JAILLET <[email protected]>--- drivers/clk/clk-versaclock5.c | 1 - drivers/clk/meson/clk-pll.c | 1 - drivers/clk/rockchip/clk.c | 1 -Clock-trees for soc families normally have different sub-maintainers, so depending on how we want to merge this, you might need to split this into 3 patches.
Quoted 7 lines
But at least for the Rockchip part, I'm also fine with the patch going in as a whole, so (for the Rockchip part):
Acked-by Heiko Stuebner <[email protected]>Heiko
Same for the Amlogic part
Quoted 19 lines
Quoted 3 lines
3 files changed, 3 deletions(-)[...]
Quoted 13 lines
drivers/clk/rockchip/clk.c +0
-1@@ -21,7 +21,6 @@#include <linux/mfd/syscon.h> #include <linux/regmap.h> #include <linux/reboot.h> -#include <linux/rational.h> #include "../clk-fractional-divider.h" #include "clk.h"
Luca Ceresoli
Reviewed-byHello Jerome,
Quoted 19 lines · On Sun, 13 Nov 2022 20:29:43 +0100 Jerome Brunet <[email protected]> wrote:
Quoted 17 lines · Heiko Stübner
Am Samstag, 12. November 2022, 22:43:03 CET schrieb Christophe JAILLET:
Quoted 8 lines
<
linux/rational.h> is not needed for these drivers. Remove the corresponding #include.Signed-off-by Christophe JAILLET <[email protected]>--- drivers/clk/clk-versaclock5.c | 1 - drivers/clk/meson/clk-pll.c | 1 - drivers/clk/rockchip/clk.c | 1 -Clock-trees for soc families normally have different sub-maintainers, so depending on how we want to merge this, you might need to split this into 3 patches.
But at least for the Rockchip part, I'm also fine with the patch going in as a whole, so (for the Rockchip part):
Quoted 8 lines
Quoted 4 lines
Acked-by Heiko Stuebner <[email protected]>Heiko
Same for the Amlogic part
Acked-by Jerome Brunet <[email protected]>
And the same for Versaclock:
Signature · 3 lines
Luca Ceresoli, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
Quoting Christophe JAILLET (2022-11-12 13:43:03)
Quoted 5 lines
<
linux/rational.h> is not needed for these drivers. Remove the corresponding #include.Signed-off-by Christophe JAILLET <[email protected]>---
Applied to clk-next