summaryrefslogtreecommitdiffstats
path: root/arch/c6x/platforms/platform.c
diff options
context:
space:
mode:
authorKefeng Wang <wangkefeng.wang@huawei.com>2016-06-01 14:52:58 +0800
committerRob Herring <robh@kernel.org>2016-06-23 14:59:39 -0500
commitd8fcfb6dbba2229b29dd6b672ac6c6081c37e48c (patch)
tree67a0bd2cbf2408f7c7dca9864e9d3bfcb599e0ac /arch/c6x/platforms/platform.c
parent9a4ef881d25957f149864bd46a2099e92ec9c53c (diff)
downloadop-kernel-dev-d8fcfb6dbba2229b29dd6b672ac6c6081c37e48c.zip
op-kernel-dev-d8fcfb6dbba2229b29dd6b672ac6c6081c37e48c.tar.gz
c6x: Remove unnecessary of_platform_populate with default match table
After patch "of/platform: Add common method to populate default bus", it is possible for arch code to remove unnecessary callers of of_platform_populate with default match table. Cc: Mikael Starvik <starvik@axis.com> Cc: Jesper Nilsson <jesper.nilsson@axis.com> Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com> Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'arch/c6x/platforms/platform.c')
-rw-r--r--arch/c6x/platforms/platform.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/arch/c6x/platforms/platform.c b/arch/c6x/platforms/platform.c
deleted file mode 100644
index 26c1a35..0000000
--- a/arch/c6x/platforms/platform.c
+++ /dev/null
@@ -1,17 +0,0 @@
-/*
- * Copyright 2011 Texas Instruments Incorporated
- *
- * This file is licensed under the terms of the GNU General Public License
- * version 2. This program is licensed "as is" without any warranty of any
- * kind, whether express or implied.
- */
-
-#include <linux/init.h>
-#include <linux/of_platform.h>
-
-static int __init c6x_device_probe(void)
-{
- of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL);
- return 0;
-}
-core_initcall(c6x_device_probe);
OpenPOWER on IntegriCloud