diff options
Diffstat (limited to 'drivers/i2c')
-rw-r--r-- | drivers/i2c/busses/i2c-stu300.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/i2c/busses/i2c-stu300.c b/drivers/i2c/busses/i2c-stu300.c index d1a6b204af00..ded21cfa77da 100644 --- a/drivers/i2c/busses/i2c-stu300.c +++ b/drivers/i2c/busses/i2c-stu300.c | |||
@@ -884,9 +884,6 @@ stu300_probe(struct platform_device *pdev) | |||
884 | 884 | ||
885 | dev->pdev = pdev; | 885 | dev->pdev = pdev; |
886 | res = platform_get_resource(pdev, IORESOURCE_MEM, 0); | 886 | res = platform_get_resource(pdev, IORESOURCE_MEM, 0); |
887 | if (!res) | ||
888 | return -ENOENT; | ||
889 | |||
890 | dev->virtbase = devm_ioremap_resource(&pdev->dev, res); | 887 | dev->virtbase = devm_ioremap_resource(&pdev->dev, res); |
891 | dev_dbg(&pdev->dev, "initialize bus device I2C%d on virtual " | 888 | dev_dbg(&pdev->dev, "initialize bus device I2C%d on virtual " |
892 | "base %p\n", bus_nr, dev->virtbase); | 889 | "base %p\n", bus_nr, dev->virtbase); |