* [PATCH] soc: renesas: r8a77995-sysc: Cleanups
@ 2018-04-18 14:58 Geert Uytterhoeven
2018-04-20 10:15 ` Simon Horman
0 siblings, 1 reply; 2+ messages in thread
From: Geert Uytterhoeven @ 2018-04-18 14:58 UTC (permalink / raw)
To: Simon Horman, Magnus Damm; +Cc: linux-renesas-soc, Geert Uytterhoeven
Minor cleanup of artefacts caused by deriving from r8a7795-sysc.c:
- Remove unused inclusion of <linux/sys_soc.h>,
- Make r8a77995_areas[] const.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
drivers/soc/renesas/r8a77995-sysc.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/soc/renesas/r8a77995-sysc.c b/drivers/soc/renesas/r8a77995-sysc.c
index f718429cab02393d..1b2ef415bbe1cbf7 100644
--- a/drivers/soc/renesas/r8a77995-sysc.c
+++ b/drivers/soc/renesas/r8a77995-sysc.c
@@ -10,13 +10,12 @@
#include <linux/bug.h>
#include <linux/kernel.h>
-#include <linux/sys_soc.h>
#include <dt-bindings/power/r8a77995-sysc.h>
#include "rcar-sysc.h"
-static struct rcar_sysc_area r8a77995_areas[] __initdata = {
+static const struct rcar_sysc_area r8a77995_areas[] __initconst = {
{ "always-on", 0, 0, R8A77995_PD_ALWAYS_ON, -1, PD_ALWAYS_ON },
{ "ca53-scu", 0x140, 0, R8A77995_PD_CA53_SCU, R8A77995_PD_ALWAYS_ON,
PD_SCU },
--
2.7.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] soc: renesas: r8a77995-sysc: Cleanups
2018-04-18 14:58 [PATCH] soc: renesas: r8a77995-sysc: Cleanups Geert Uytterhoeven
@ 2018-04-20 10:15 ` Simon Horman
0 siblings, 0 replies; 2+ messages in thread
From: Simon Horman @ 2018-04-20 10:15 UTC (permalink / raw)
To: Geert Uytterhoeven; +Cc: Magnus Damm, linux-renesas-soc
On Wed, Apr 18, 2018 at 04:58:18PM +0200, Geert Uytterhoeven wrote:
> Minor cleanup of artefacts caused by deriving from r8a7795-sysc.c:
> - Remove unused inclusion of <linux/sys_soc.h>,
> - Make r8a77995_areas[] const.
>
> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Thanks, applied.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-04-20 10:15 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-04-18 14:58 [PATCH] soc: renesas: r8a77995-sysc: Cleanups Geert Uytterhoeven
2018-04-20 10:15 ` Simon Horman
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.