]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/video/omap/lcd_mipid.c
OMAP: lcd_mipid: Fix OOM error reporting
[linux-2.6-omap-h63xx.git] / drivers / video / omap / lcd_mipid.c
index 922e3228841102244d246052586a5f0e6f94f2ca..ef071a600b08233d7d0e2a52cf6bfd0b2f493804 100644 (file)
@@ -561,7 +561,7 @@ static int mipid_spi_probe(struct spi_device *spi)
 
        md = kzalloc(sizeof(*md), GFP_KERNEL);
        if (md == NULL) {
-               dev_err(&md->spi->dev, "out of memory\n");
+               dev_err(&spi->dev, "out of memory\n");
                return -ENOMEM;
        }