ARM: EXYNOS: Remove check for device tree presence
[deliverable/linux.git] / arch / arm / mach-exynos / firmware.c
index ed11f100d479ab26cb7c6e74ef153502a6ab88e6..932129ef26c66054a2bdeecaef9c0af1a9bba788 100644 (file)
@@ -48,20 +48,18 @@ static const struct firmware_ops exynos_firmware_ops = {
 
 void __init exynos_firmware_init(void)
 {
-       if (of_have_populated_dt()) {
-               struct device_node *nd;
-               const __be32 *addr;
+       struct device_node *nd;
+       const __be32 *addr;
 
-               nd = of_find_compatible_node(NULL, NULL,
-                                               "samsung,secure-firmware");
-               if (!nd)
-                       return;
+       nd = of_find_compatible_node(NULL, NULL,
+                                       "samsung,secure-firmware");
+       if (!nd)
+               return;
 
-               addr = of_get_address(nd, 0, NULL, NULL);
-               if (!addr) {
-                       pr_err("%s: No address specified.\n", __func__);
-                       return;
-               }
+       addr = of_get_address(nd, 0, NULL, NULL);
+       if (!addr) {
+               pr_err("%s: No address specified.\n", __func__);
+               return;
        }
 
        pr_info("Running under secure firmware.\n");
This page took 0.025578 seconds and 5 git commands to generate.