linux/arch/sh/boards
Dmitry Torokhov 82f7c5103d sh: make use of for_each_node_by_type()
Instead of open-coding the loop, let's use canned macro.

Also make sure we are not leaking "cpus" node reference.

Link: http://lkml.kernel.org/r/20180624224252.GA220395@dtor-ws
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Reviewed-by: Andrew Morton <akpm@linux-foundation.org>
Cc: Yoshinori Sato <ysato@users.sourceforge.jp>
Cc: Rich Felker <dalias@libc.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2018-08-17 16:20:27 -07:00
..
mach-ap325rxa media: arch: sh: ap325rxa: Use new renesas-ceu camera driver 2018-06-28 07:29:00 -04:00
mach-cayman sh: cayman: IDE support fix 2017-03-09 17:01:10 -08:00
mach-dreamcast sh: dreamcast: Migrate off of deprecated dynamic IRQ API. 2012-05-18 23:36:44 +09:00
mach-ecovec24 media: arch: sh: ecovec: Use new renesas-ceu camera driver 2018-03-21 15:29:59 -04:00
mach-highlander License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mach-hp6xx sh: Kill off machvec IRQ hinting. 2012-05-21 17:54:01 +09:00
mach-kfr2r09 media: arch: sh: kfr2r09: Use new renesas-ceu camera driver 2018-06-28 07:28:00 -04:00
mach-landisk Replace <asm/uaccess.h> with <linux/uaccess.h> globally 2016-12-24 11:46:01 -08:00
mach-lboxre2 sh: Kill off machvec IRQ hinting. 2012-05-21 17:54:01 +09:00
mach-microdev sh: Kill off machvec IRQ hinting. 2012-05-21 17:54:01 +09:00
mach-migor media: sh: migor: Remove stale soc_camera include 2018-07-24 17:50:35 -04:00
mach-r2d License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mach-rsk License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mach-sdk7780 License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mach-sdk7786 sh: sdk7786-gpio: switch to gpiochip_add_data() 2016-03-30 10:53:44 +02:00
mach-se media: arch: sh: ms7724se: Use new renesas-ceu camera driver 2018-06-28 07:28:29 -04:00
mach-sh03 License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mach-sh7763rdp sh_eth: remove sh_eth_plat_data::edmac_endian 2018-01-08 14:10:33 -05:00
mach-x3proto sh: x3proto-gpio: switch to gpiochip_add_data() 2016-03-30 10:53:51 +02:00
board-apsh4a3a.c sh: add fixed voltage regulators to apsh4a3a 2012-06-28 18:00:46 +09:00
board-apsh4ad0a.c sh: add fixed voltage regulators to apsh4ad0a 2012-06-28 18:00:47 +09:00
board-edosk7705.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
board-edosk7760.c sh: Kill off machvec IRQ hinting. 2012-05-21 17:54:01 +09:00
board-espt.c sh_eth: remove sh_eth_plat_data::edmac_endian 2018-01-08 14:10:33 -05:00
board-magicpanelr2.c sh: add fixed voltage regulators to magicpanelr2 2012-06-28 18:00:48 +09:00
board-polaris.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
board-secureedge5410.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
board-sh2007.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
board-sh7757lcr.c sh_eth: remove sh_eth_plat_data::edmac_endian 2018-01-08 14:10:33 -05:00
board-sh7785lcr.c i2c: pca-platform: move header to platform_data 2018-05-17 16:27:58 +02:00
board-shmin.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
board-titan.c sh: mach-titan: Kill off unused PIO port mangling. 2010-01-28 15:08:21 +09:00
board-urquell.c sh: urquell evt2irq migration. 2012-05-18 15:43:48 +09:00
Kconfig License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
of-generic.c sh: make use of for_each_node_by_type() 2018-08-17 16:20:27 -07:00