summaryrefslogtreecommitdiff
path: root/drivers/staging/tidspbridge/services
diff options
context:
space:
mode:
authorIvan Gomez Castellanos <ivan.gomez@ti.com>2010-08-25 17:09:01 -0500
committerGreg Kroah-Hartman <gregkh@suse.de>2010-08-31 11:23:16 -0700
commita47d4deebf3ecf6c092a9c510af7ccbaedc1610a (patch)
tree9bd0055e08a1f8b6c267be2b2872f7b3ac618835 /drivers/staging/tidspbridge/services
parent73b87a916697999bfafd4c43956ba98a2905ecfe (diff)
staging: tidspbridge: Remove cfg_set_dev_object()
As the services directory is going to be removed, the cfg_set_dev_object function has also to be removed. Signed-off-by: Ivan Gomez Castellanos <ivan.gomez@ti.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/tidspbridge/services')
-rw-r--r--drivers/staging/tidspbridge/services/cfg.c30
1 files changed, 0 insertions, 30 deletions
diff --git a/drivers/staging/tidspbridge/services/cfg.c b/drivers/staging/tidspbridge/services/cfg.c
index 94d8ebe66fd0..5517201048eb 100644
--- a/drivers/staging/tidspbridge/services/cfg.c
+++ b/drivers/staging/tidspbridge/services/cfg.c
@@ -31,36 +31,6 @@
#include <dspbridge/drv.h>
/*
- * ======== cfg_set_dev_object ========
- * Purpose:
- * Store the Device Object handle and dev_node pointer for a given devnode.
- */
-int cfg_set_dev_object(struct cfg_devnode *dev_node_obj, u32 value)
-{
- int status = 0;
- struct drv_data *drv_datap = dev_get_drvdata(bridge);
-
- if (!drv_datap) {
- pr_err("%s: Failed, status 0x%x\n", __func__, status);
- return -EPERM;
- }
-
- if (!dev_node_obj)
- status = -EFAULT;
-
- if (!status) {
- /* Store the Bridge device object in the Registry */
-
- if (!(strcmp((char *)dev_node_obj, "TIOMAP1510")))
- drv_datap->dev_object = (void *) value;
- }
- if (status)
- pr_err("%s: Failed, status 0x%x\n", __func__, status);
-
- return status;
-}
-
-/*
* ======== cfg_set_object ========
* Purpose:
* Store the Driver Object handle