]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ENGR00181518 MAX11801: remove unnecessary debug information
authorRong Dian <b38775@freescale.com>
Thu, 3 May 2012 07:59:31 +0000 (15:59 +0800)
committerLothar Waßmann <LW@KARO-electronics.de>
Fri, 24 May 2013 06:34:33 +0000 (08:34 +0200)
remove unnecessary debug information e.g.,aux: bd8.

Signed-off-by: Rong Dian <b38775@freescale.com>
drivers/input/touchscreen/max11801_ts.c

index 0784687d231bd470240876d39b185b22b75f5002..48ee3600a03bdb427e91bde276d72a58ff4d36f4 100755 (executable)
@@ -135,7 +135,6 @@ static u32 max11801_dcm_sample_aux(struct i2c_client *client)
                printk(KERN_DEBUG "FIFO_RD_AUX_LSB read fails\n");
        aux = (aux_buf[0] << 4) +
                                        (aux_buf[1] >> 4);
-       printk(KERN_DEBUG "aux: %4x\n", aux);
        /*
        voltage = (9170*aux)/7371;
        voltage is (26.2*3150*aux)/(16.2*0xFFF)
@@ -143,8 +142,6 @@ static u32 max11801_dcm_sample_aux(struct i2c_client *client)
        sample_data = (14840*aux)/7371-1541;
        */
        sample_data = (14840*aux)/7371;
-       pr_debug("FIFO_RD_AUX_MSB: %2x,FIFO_RD_AUX_LSB: %2x\n",
-               aux_buf[0], aux_buf[1]);
        return sample_data;
 }