]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
Revert "soc: qcom: Stub IPCRTR client driver"
authorBjorn Andersson <bjorn.andersson@linaro.org>
Tue, 7 Jun 2016 00:01:02 +0000 (17:01 -0700)
committerNicolas Dechesne <nicolas.dechesne@linaro.org>
Tue, 21 Jun 2016 08:02:39 +0000 (11:02 +0300)
This reverts commit 38f515b2f0ee21b27bed1fd36f6710c1ef907765.

QRTR has been backported, so we don't need to keep this stub driver.

drivers/soc/qcom/Kconfig
drivers/soc/qcom/Makefile
drivers/soc/qcom/ipcrtr_stub.c [deleted file]

index 4138de6da18b3724cc8a8b4aff236c88279c71e7..35fa84660dee638936921656a428e23d52c9274c 100644 (file)
@@ -117,8 +117,3 @@ config BUS_TOPOLOGY_ADHOC
                directionality of connections by explicitly listing device connections
                thus avoiding illegal routes.
 
-config QCOM_IPCRTR_STUB
-       tristate "Qualcomm IPCRTR stub driver"
-       depends on QCOM_SMD
-       help
-         Stub driver to bring the IPCRTR channel up.
index bf6f22a47a2b6db5520e2e56148606137aab60a2..56da0a585cfd5d6c39c609d3f2bbf11f4a17ba61 100644 (file)
@@ -12,6 +12,4 @@ obj-$(CONFIG_MFD_QCOM_SMD_RPM) += rpm_log.o
 
 obj-$(CONFIG_MSM_BUS_SCALING) += msm_bus/
 obj-$(CONFIG_BUS_TOPOLOGY_ADHOC) += msm_bus/
-obj-$(CONFIG_QCOM_IPCRTR_STUB) += ipcrtr_stub.o
-
 obj-$(CONFIG_QTI_LNX_GPS_PROXY) += gps_proxy.o
diff --git a/drivers/soc/qcom/ipcrtr_stub.c b/drivers/soc/qcom/ipcrtr_stub.c
deleted file mode 100644 (file)
index 6f8d724..0000000
+++ /dev/null
@@ -1,62 +0,0 @@
-/*
- * Copyright (c) 2014, Sony Mobile Communications AB.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 and
- * only version 2 as published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- */
-
-#include <linux/module.h>
-#include <linux/platform_device.h>
-#include <linux/of_platform.h>
-#include <linux/io.h>
-#include <linux/slab.h>
-#include <linux/firmware.h>
-#include <linux/interrupt.h>
-#include <linux/delay.h>
-
-#include <linux/soc/qcom/smd.h>
-
-static int ipcrtr_stub_callback(struct qcom_smd_device *qsdev,
-                               const void *data,
-                                size_t count)
-{
-       print_hex_dump(KERN_DEBUG, "IPCRTR <<<: ", DUMP_PREFIX_OFFSET, 16, 1, data, count, true);
-
-       return 0;
-}
-
-static int ipcrtr_stub_probe(struct qcom_smd_device *sdev)
-{
-       dev_err(&sdev->dev, "ipcrtr initialized\n");
-
-       return 0;
-}
-
-static const struct of_device_id ipcrtr_stub_of_match[] = {
-       { .compatible = "qcom,ipcrtr" },
-       {}
-};
-MODULE_DEVICE_TABLE(of, ipcrtr_stub_of_match);
-
-static struct qcom_smd_driver ipcrtr_stub_driver = {
-       .probe = ipcrtr_stub_probe,
-       .callback = ipcrtr_stub_callback,
-       .driver  = {
-               .name  = "ipcrtr_stub",
-               .owner = THIS_MODULE,
-               .of_match_table = ipcrtr_stub_of_match,
-       },
-};
-
-module_qcom_smd_driver(ipcrtr_stub_driver);
-
-MODULE_AUTHOR("Bjorn Andersson <bjorn.andersson@sonymobile.com>");
-MODULE_DESCRIPTION("Qualcomm IPCRTR stub driver");
-MODULE_LICENSE("GPLv2");
-