summaryrefslogtreecommitdiff
path: root/io-module
diff options
context:
space:
mode:
authorJesse Gilles <jgilles@multitech.com>2014-10-29 15:16:51 -0500
committerJesse Gilles <jgilles@multitech.com>2014-10-29 15:16:51 -0500
commite87ec476597042ce75ec11e82287a5540933291b (patch)
tree8c07f1fd435b1df65b78580003bb6e975ca01c11 /io-module
parente2b1a4fe8e513726a6df8325d6bdc0d26b647639 (diff)
downloadmts-io-e87ec476597042ce75ec11e82287a5540933291b.tar.gz
mts-io-e87ec476597042ce75ec11e82287a5540933291b.tar.bz2
mts-io-e87ec476597042ce75ec11e82287a5540933291b.zip
remove legacy "mtcdp" sysfs link
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;