mirror of
https://github.com/torvalds/linux.git
synced 2024-11-23 12:42:02 +00:00
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>
This commit is contained in:
parent
9a4ef881d2
commit
d8fcfb6dbb
@ -4,7 +4,7 @@
|
||||
# Copyright 2010, 2011 Texas Instruments Incorporated
|
||||
#
|
||||
|
||||
obj-y = platform.o cache.o megamod-pic.o pll.o plldata.o timer64.o
|
||||
obj-y = cache.o megamod-pic.o pll.o plldata.o timer64.o
|
||||
obj-y += dscr.o
|
||||
|
||||
# SoC objects
|
||||
|
@ -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);
|
Loading…
Reference in New Issue
Block a user