treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / arch / sh / kernel / cpu / sh2a / pinmux-sh7269.c
blob4da432ef1b40a9772cd6c2de2aee177aea102012
1 // SPDX-License-Identifier: GPL-2.0
2 /*
3 * SH7269 Pinmux
5 * Copyright (C) 2012 Renesas Electronics Europe Ltd
6 * Copyright (C) 2012 Phil Edworthy
7 */
9 #include <linux/bug.h>
10 #include <linux/init.h>
11 #include <linux/ioport.h>
12 #include <linux/kernel.h>
13 #include <cpu/pfc.h>
15 static struct resource sh7269_pfc_resources[] = {
16 [0] = {
17 .start = 0xfffe3800,
18 .end = 0xfffe391f,
19 .flags = IORESOURCE_MEM,
23 static int __init plat_pinmux_setup(void)
25 return sh_pfc_register("pfc-sh7269", sh7269_pfc_resources,
26 ARRAY_SIZE(sh7269_pfc_resources));
28 arch_initcall(plat_pinmux_setup);