Merge branch 'i2c/for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa...
[profile/ivi/kernel-x86-ivi.git] / drivers / i2c / busses / i2c-stu300.c
index 60195b5..0a6f941 100644 (file)
@@ -975,7 +975,6 @@ stu300_remove(struct platform_device *pdev)
        i2c_del_adapter(&dev->adapter);
        /* Turn off everything */
        stu300_wr8(0x00, dev->virtbase + I2C_CR);
-       platform_set_drvdata(pdev, NULL);
        return 0;
 }