projects/linux·commit 0bb04bf3

mrst_max3110: Change max missing message priority.

0bb04bf3 · William Douglas <[email protected]> · 2011-06-23 13:38:36 +01:00

Change print message to notice instead of error to clean up non critical
messages showing on startup.  The MAX3111 not being present is a normal
path for end user systems.

Signed-off-by: William Douglas <[email protected]>
[rebased on 3.0, switched to dev_dbg()]
Signed-off-by: Alan Cox <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Commit
0bb04bf3dfdfe1c981087cdfb0d9d772c3a0ba55
Parents
bccaeafd

Changes

1 files changed · +1 −1

FileStatusAddDelContent
drivers/tty/serial/mrst_max3110.cmodified+1−1View file

drivers/tty/serial/mrst_max3110.c

View file
diff --git a/drivers/tty/serial/mrst_max3110.c b/drivers/tty/serial/mrst_max3110.c
index 1bd2845..3be1b0d 100644
--- a/drivers/tty/serial/mrst_max3110.c
+++ b/drivers/tty/serial/mrst_max3110.c
@@ -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;