]> git.baikalelectronics.ru Git - kernel.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)
commitfcccaec5064fdd287ca8a5078effb6a8731dd1ff
treea40b0b29ea43f4aafe60ff9957c4d4f987b213d5
parent8c43bf62fb9144df71ce71112ec75c26cf18910c
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