diff options
Diffstat (limited to 'drivers/input/serio')
-rw-r--r-- | drivers/input/serio/ambakmi.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/input/serio/ambakmi.c b/drivers/input/serio/ambakmi.c index 4e2fd44865e1..b7c206db0df8 100644 --- a/drivers/input/serio/ambakmi.c +++ b/drivers/input/serio/ambakmi.c | |||
@@ -167,8 +167,6 @@ static int amba_kmi_remove(struct amba_device *dev) | |||
167 | { | 167 | { |
168 | struct amba_kmi_port *kmi = amba_get_drvdata(dev); | 168 | struct amba_kmi_port *kmi = amba_get_drvdata(dev); |
169 | 169 | ||
170 | amba_set_drvdata(dev, NULL); | ||
171 | |||
172 | serio_unregister_port(kmi->io); | 170 | serio_unregister_port(kmi->io); |
173 | clk_put(kmi->clk); | 171 | clk_put(kmi->clk); |
174 | iounmap(kmi->base); | 172 | iounmap(kmi->base); |