mrst_max3110: Change max missing message priority.
authorWilliam Douglas <william.douglas@intel.com>
Thu, 23 Jun 2011 12:38:36 +0000 (13:38 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 1 Jul 2011 22:36:41 +0000 (15:36 -0700)
Change print message to notice instead of error to clean up
non critcal messages showing on startup. The MAX3111 not being present
is a normal path for end user systems.

Signed-off-by: William Douglas <william.douglas@intel.com>
[rebased on 3.0, switched to dev_dbg()]
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/tty/serial/mrst_max3110.c

index 1bd28450ca40913f87503d7f75aa4ed5cd149904..3be1b0dd6f22d763b4fc7939c8469190373790e1 100644 (file)
@@ -823,7 +823,7 @@ static int __devinit serial_m3110_probe(struct spi_device *spi)
        res = RC_TAG;
        ret = max3110_write_then_read(max, (u8 *)&res, (u8 *)&res, 2, 0);
        if (ret < 0 || res == 0 || res == 0xffff) {
-               printk(KERN_ERR "MAX3111 deemed not present (conf reg %04x)",
+               dev_dbg(&spi->dev, "MAX3111 deemed not present (conf reg %04x)",
                                                                        res);
                ret = -ENODEV;
                goto err_get_page;