Merge tag 'usercopy-v4.8' of git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux
[deliverable/linux.git] / sound / soc / atmel / atmel-classd.c
index 6107de9c538b51d27c0f09888e14b56592fad68e..6d9b8b44e2dae93feedc644f0a0568c3dd883927 100644 (file)
@@ -593,11 +593,6 @@ static int atmel_classd_probe(struct platform_device *pdev)
        }
 
        res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
-       if (!res) {
-               dev_err(dev, "no memory resource\n");
-               return -ENXIO;
-       }
-
        io_base = devm_ioremap_resource(dev, res);
        if (IS_ERR(io_base)) {
                ret =  PTR_ERR(io_base);
This page took 0.026301 seconds and 5 git commands to generate.