From: Youngmin Nam Date: Fri, 29 Apr 2016 05:59:37 +0000 (+0900) Subject: Revert "i2c: s3c2410: fix oops in suspend callback for non-dt platforms" X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=035bdac59611a781d17b4783eb291f4791eb2c56;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git Revert "i2c: s3c2410: fix oops in suspend callback for non-dt platforms" This reverts commit 8d487a43c36b54a029d74ad3b0a6a9d1253e728a. Change-Id: I82de39f5d2331bcbf9b9d9dafca01eb12be8c923 --- diff --git a/drivers/i2c/busses/i2c-s3c2410.c b/drivers/i2c/busses/i2c-s3c2410.c index 57abfbcb2cb4..fc2909caf47d 100644 --- a/drivers/i2c/busses/i2c-s3c2410.c +++ b/drivers/i2c/busses/i2c-s3c2410.c @@ -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