]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ARM: OMAP2+: Remove unused legacy code for device init
authorTony Lindgren <tony@atomide.com>
Wed, 31 May 2017 22:51:32 +0000 (15:51 -0700)
committerTony Lindgren <tony@atomide.com>
Thu, 8 Jun 2017 09:57:38 +0000 (02:57 -0700)
commit6f3ab009a178098e834d9e060f03e1232bb449c1
treea40b0b29ea43f4aafe60ff9957c4d4f987b213d5
parent7bd6934477413753eacbcab8aeb2df7eb84f2867
ARM: OMAP2+: Remove unused legacy code for device init

We are now booting all mach-omap2 in device tree only mode.
Any code that is only called in legacy boot mode where
of_have_populated_dt() is not set is safe to remove now.

Note that omap_init_sti() won't do anything so we can
remove omap2_init_devices() as pointed out by Sebastian
Reichel <sebastian.reichel@collabora.co.uk>.

Reviewed-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/devices.c