[PATCH v4 03/13] soc: renesas: rcar-sysc: Make rcar_sysc_init() init the PM domains
Geert Uytterhoeven
geert at linux-m68k.org
Fri Jun 17 09:19:58 PDT 2016
Hi Ulrich,
On Fri, Jun 17, 2016 at 5:57 PM, Ulrich Hecht <ulrich.hecht at gmail.com> wrote:
>> --- a/drivers/soc/renesas/rcar-sysc.c
>> +++ b/drivers/soc/renesas/rcar-sysc.c
>> @@ -164,15 +164,6 @@ static bool rcar_sysc_power_is_off(const struct rcar_sysc_ch *sysc_ch)
>> return false;
>> }
>>
>> -void __iomem *rcar_sysc_init(phys_addr_t base)
>> -{
>> - rcar_sysc_base = ioremap_nocache(base, PAGE_SIZE);
>> - if (!rcar_sysc_base)
>> - panic("unable to ioremap R-Car SYSC hardware block\n");
>
> Is this check no longer necessary?
If this failed (out of memory) this early in the boot process, we're gonna die
anyway.
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert at linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
More information about the linux-arm-kernel
mailing list