summaryrefslogtreecommitdiff
path: root/drivers/staging/fsl-mc
diff options
context:
space:
mode:
authorItai Katz <itai.katz@freescale.com>2015-10-04 10:09:54 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-10-04 11:55:45 +0300
commit757e0cb5f16964d637dffa1bce734208659b7f6e (patch)
tree98532e41b806d6200d3f7ab5033dac2911425dc9 /drivers/staging/fsl-mc
parent565b94506f7e2f77dc0d94b4722532358d5965c7 (diff)
downloadlinux-757e0cb5f16964d637dffa1bce734208659b7f6e.tar.xz
staging: fsl-mc: remove references to dev_root
The dev_root field in the bus type struct has been replaced by a new mechanism to identify the root dprc. Remove all references to dev_root. Signed-off-by: Itai Katz <itai.katz@freescale.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/fsl-mc')
-rw-r--r--drivers/staging/fsl-mc/bus/mc-bus.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/staging/fsl-mc/bus/mc-bus.c b/drivers/staging/fsl-mc/bus/mc-bus.c
index 8a2b99c9f822..fd13053cbd9b 100644
--- a/drivers/staging/fsl-mc/bus/mc-bus.c
+++ b/drivers/staging/fsl-mc/bus/mc-bus.c
@@ -458,9 +458,6 @@ int fsl_mc_device_add(struct dprc_obj_desc *obj_desc,
mc_io2 = mc_io;
- if (!fsl_mc_bus_exists())
- fsl_mc_bus_type.dev_root = &mc_dev->dev;
-
atomic_inc(&root_dprc_count);
}
@@ -545,7 +542,6 @@ void fsl_mc_device_remove(struct fsl_mc_device *mc_dev)
}
if (fsl_mc_is_root_dprc(&mc_dev->dev)) {
- fsl_mc_bus_type.dev_root = NULL;
if (atomic_read(&root_dprc_count) > 0)
atomic_dec(&root_dprc_count);
else