summaryrefslogtreecommitdiff
path: root/io-module
diff options
context:
space:
mode:
Diffstat (limited to 'io-module')
-rw-r--r--io-module/mts_io.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/io-module/mts_io.c b/io-module/mts_io.c
index cbf0637..9058096 100644
--- a/io-module/mts_io.c
+++ b/io-module/mts_io.c
@@ -508,7 +508,6 @@ static void cleanup(void)
log_info("cleaning up....");
if (mts_io_platform_device) {
- sysfs_remove_link(&mts_io_platform_device->dev.parent->kobj, "mtcdp");
platform_device_unregister(mts_io_platform_device);
}
for (port_index = 0, port = 1; port_index < NUM_AP; port_index++, port++) {
@@ -546,16 +545,6 @@ static int __init mts_io_init(void)
return ret;
}
- /* preserve backwards compatibility with old mtcdp platform name */
- ret = sysfs_create_link(&mts_io_platform_device->dev.parent->kobj,
- &mts_io_platform_device->dev.kobj,
- "mtcdp");
- if (ret) {
- log_error("sysfs_create_link failed: %d", ret);
- cleanup();
- return ret;
- }
-
if (NUM_AP) {
for (port_index = 0; port_index < NUM_AP; port_index++) {
port_info[port_index] = NULL;