diff mbox series

soc: renesas: rmobile-sysc: Remove unneeded platform includes

Message ID 20210205132113.1920047-1-geert+renesas@glider.be (mailing list archive)
State Superseded
Delegated to: Geert Uytterhoeven
Headers show
Series soc: renesas: rmobile-sysc: Remove unneeded platform includes | expand

Commit Message

Geert Uytterhoeven Feb. 5, 2021, 1:21 p.m. UTC
As of commit b587288001f05c0e ("ARM: shmobile: R-Mobile: Remove legacy
PM Domain code"), the R-Mobile System Controller driver no longer
handles the adding of platform devices to PM Domains, but delegates that
to the PM Domain core code.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
To be queued in renesas-devel for v5.13.

 drivers/soc/renesas/rmobile-sysc.c | 2 --
 1 file changed, 2 deletions(-)

Comments

Niklas Söderlund Feb. 6, 2021, 8:52 a.m. UTC | #1
Hi Geert,

Thanks for your work.

On 2021-02-05 14:21:13 +0100, Geert Uytterhoeven wrote:
> As of commit b587288001f05c0e ("ARM: shmobile: R-Mobile: Remove legacy
> PM Domain code"), the R-Mobile System Controller driver no longer
> handles the adding of platform devices to PM Domains, but delegates that
> to the PM Domain core code.
> 
> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>

Reviewed-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>

> ---
> To be queued in renesas-devel for v5.13.
> 
>  drivers/soc/renesas/rmobile-sysc.c | 2 --
>  1 file changed, 2 deletions(-)
> 
> diff --git a/drivers/soc/renesas/rmobile-sysc.c b/drivers/soc/renesas/rmobile-sysc.c
> index 9046b8c933cbe031..bf64d052f9245db5 100644
> --- a/drivers/soc/renesas/rmobile-sysc.c
> +++ b/drivers/soc/renesas/rmobile-sysc.c
> @@ -14,8 +14,6 @@
>  #include <linux/delay.h>
>  #include <linux/of.h>
>  #include <linux/of_address.h>
> -#include <linux/of_platform.h>
> -#include <linux/platform_device.h>
>  #include <linux/pm.h>
>  #include <linux/pm_clock.h>
>  #include <linux/pm_domain.h>
> -- 
> 2.25.1
>
diff mbox series

Patch

diff --git a/drivers/soc/renesas/rmobile-sysc.c b/drivers/soc/renesas/rmobile-sysc.c
index 9046b8c933cbe031..bf64d052f9245db5 100644
--- a/drivers/soc/renesas/rmobile-sysc.c
+++ b/drivers/soc/renesas/rmobile-sysc.c
@@ -14,8 +14,6 @@ 
 #include <linux/delay.h>
 #include <linux/of.h>
 #include <linux/of_address.h>
-#include <linux/of_platform.h>
-#include <linux/platform_device.h>
 #include <linux/pm.h>
 #include <linux/pm_clock.h>
 #include <linux/pm_domain.h>