diff --git a/src/ch7017/ch7017.c b/src/ch7017/ch7017.c index 4c9b4c61..ceb8a2a1 100644 --- a/src/ch7017/ch7017.c +++ b/src/ch7017/ch7017.c @@ -94,8 +94,6 @@ ch7017_init(I2CBusPtr b, I2CSlaveAddr addr) struct ch7017_priv *priv; CARD8 val; - xf86DrvMsg(b->scrnIndex, X_INFO, "detecting ch7017\n"); - priv = xcalloc(1, sizeof(struct ch7017_priv)); if (priv == NULL) return NULL; diff --git a/src/sil164/sil164.c b/src/sil164/sil164.c index c774a56c..12fe8e2e 100644 --- a/src/sil164/sil164.c +++ b/src/sil164/sil164.c @@ -81,8 +81,6 @@ sil164_init(I2CBusPtr b, I2CSlaveAddr addr) SIL164Ptr sil; unsigned char ch; - xf86DrvMsg(b->scrnIndex, X_ERROR, "detecting sil164\n"); - sil = xcalloc(1, sizeof(SIL164Rec)); if (sil == NULL) return NULL; diff --git a/src/tfp410/tfp410.c b/src/tfp410/tfp410.c index bc0ad749..b79fd2a8 100644 --- a/src/tfp410/tfp410.c +++ b/src/tfp410/tfp410.c @@ -93,8 +93,6 @@ tfp410_init(I2CBusPtr b, I2CSlaveAddr addr) TFP410Ptr tfp; int id; - xf86DrvMsg(b->scrnIndex, X_INFO, "detecting tfp410\n"); - tfp = xcalloc(1, sizeof(TFP410Rec)); if (tfp == NULL) return NULL; @@ -110,9 +108,11 @@ tfp410_init(I2CBusPtr b, I2CSlaveAddr addr) tfp->quiet = TRUE; if ((id = tfp410GetID(tfp, TFP410_VID_LO)) != TFP410_VID) { - xf86DrvMsg(tfp->d.pI2CBus->scrnIndex, X_ERROR, - "tfp410 not detected got VID %X: from %s Slave %d.\n", - id, tfp->d.pI2CBus->BusName, tfp->d.SlaveAddr); + if (id != 0xffffffff) { + xf86DrvMsg(tfp->d.pI2CBus->scrnIndex, X_ERROR, + "tfp410 not detected got VID %X: from %s Slave %d.\n", + id, tfp->d.pI2CBus->BusName, tfp->d.SlaveAddr); + } goto out; }