summaryrefslogtreecommitdiffstats
path: root/drivers/spmi/hisi-spmi-controller.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/spmi/hisi-spmi-controller.c')
-rw-r--r--drivers/spmi/hisi-spmi-controller.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/spmi/hisi-spmi-controller.c b/drivers/spmi/hisi-spmi-controller.c
index 674a350cc6..fa068b34b0 100644
--- a/drivers/spmi/hisi-spmi-controller.c
+++ b/drivers/spmi/hisi-spmi-controller.c
@@ -300,7 +300,6 @@ static int spmi_controller_probe(struct platform_device *pdev)
spin_lock_init(&spmi_controller->lock);
- ctrl->nr = spmi_controller->channel;
ctrl->dev.parent = pdev->dev.parent;
ctrl->dev.of_node = of_node_get(pdev->dev.of_node);