diff options
Diffstat (limited to 'drivers/i2c/busses/i2c-xiic.c')
-rw-r--r-- | drivers/i2c/busses/i2c-xiic.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/i2c/busses/i2c-xiic.c b/drivers/i2c/busses/i2c-xiic.c index f042f6da0ace..332c720fb3fe 100644 --- a/drivers/i2c/busses/i2c-xiic.c +++ b/drivers/i2c/busses/i2c-xiic.c | |||
@@ -784,8 +784,6 @@ static int xiic_i2c_remove(struct platform_device *pdev) | |||
784 | 784 | ||
785 | xiic_deinit(i2c); | 785 | xiic_deinit(i2c); |
786 | 786 | ||
787 | platform_set_drvdata(pdev, NULL); | ||
788 | |||
789 | free_irq(platform_get_irq(pdev, 0), i2c); | 787 | free_irq(platform_get_irq(pdev, 0), i2c); |
790 | 788 | ||
791 | iounmap(i2c->base); | 789 | iounmap(i2c->base); |