Revert "i2c: s3c2410: fix oops in suspend callback for non-dt platforms"
authorYoungmin Nam <youngmin.nam@samsung.com>
Fri, 29 Apr 2016 05:59:37 +0000 (14:59 +0900)
committermyung-su.cha <myung-su.cha@samsung.com>
Thu, 10 May 2018 04:40:37 +0000 (13:40 +0900)
This reverts commit 8d487a43c36b54a029d74ad3b0a6a9d1253e728a.

Change-Id: I82de39f5d2331bcbf9b9d9dafca01eb12be8c923

drivers/i2c/busses/i2c-s3c2410.c

index 57abfbcb2cb43965bc8282d0c8191bd4f1768319..fc2909caf47dd6bfb9216d3ab69ab030e0250259 100644 (file)
@@ -1088,7 +1088,6 @@ static int s3c24xx_i2c_probe(struct platform_device *pdev)
                return -ENOMEM;
 
        i2c->quirks = s3c24xx_get_device_quirks(pdev);
-       i2c->sysreg = ERR_PTR(-ENOENT);
        if (pdata)
                memcpy(i2c->pdata, pdata, sizeof(*pdata));
        else