diff options
author | Geert Uytterhoeven <geert+renesas@glider.be> | 2023-03-13 12:02:56 +0100 |
---|---|---|
committer | Geert Uytterhoeven <geert+renesas@glider.be> | 2023-03-16 16:58:42 +0100 |
commit | 2653d5bf1c9d123c0d8b8c1634cf54dacfcfdb52 (patch) | |
tree | 162aa18aa5751e2c0a21ce1f8a14f72db330060a /drivers/soc/renesas | |
parent | 641a5e94dc9f61471736d6f776625348f46fb97f (diff) | |
download | lwn-2653d5bf1c9d123c0d8b8c1634cf54dacfcfdb52.tar.gz lwn-2653d5bf1c9d123c0d8b8c1634cf54dacfcfdb52.zip |
soc: renesas: Use "#ifdef" for single-symbol definition checks
Replace "#if defined(CONFIG_<foo>)" by "#ifdef CONFIG_<foo>" for
brevity.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/6026a3fe36735f0e6a0ecb037bf7c45f42aa3daf.1678705241.git.geert+renesas@glider.be
Diffstat (limited to 'drivers/soc/renesas')
-rw-r--r-- | drivers/soc/renesas/renesas-soc.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/soc/renesas/renesas-soc.c b/drivers/soc/renesas/renesas-soc.c index ae07269f0d9c..4ba893e45427 100644 --- a/drivers/soc/renesas/renesas-soc.c +++ b/drivers/soc/renesas/renesas-soc.c @@ -373,20 +373,20 @@ static const struct of_device_id renesas_socs[] __initconst __maybe_unused = { #ifdef CONFIG_ARCH_R8A779G0 { .compatible = "renesas,r8a779g0", .data = &soc_rcar_v4h }, #endif -#if defined(CONFIG_ARCH_R9A07G043) +#ifdef CONFIG_ARCH_R9A07G043 #ifdef CONFIG_RISCV { .compatible = "renesas,r9a07g043", .data = &soc_rz_five }, #else { .compatible = "renesas,r9a07g043", .data = &soc_rz_g2ul }, #endif #endif -#if defined(CONFIG_ARCH_R9A07G044) +#ifdef CONFIG_ARCH_R9A07G044 { .compatible = "renesas,r9a07g044", .data = &soc_rz_g2l }, #endif -#if defined(CONFIG_ARCH_R9A07G054) +#ifdef CONFIG_ARCH_R9A07G054 { .compatible = "renesas,r9a07g054", .data = &soc_rz_v2l }, #endif -#if defined(CONFIG_ARCH_R9A09G011) +#ifdef CONFIG_ARCH_R9A09G011 { .compatible = "renesas,r9a09g011", .data = &soc_rz_v2m }, #endif #ifdef CONFIG_ARCH_SH73A0 |