diff --git a/drivers/power/supply/ti/bq2597x_charger.c b/drivers/power/supply/ti/bq2597x_charger.c index aaedd952ce76..062cd353222a 100755 --- a/drivers/power/supply/ti/bq2597x_charger.c +++ b/drivers/power/supply/ti/bq2597x_charger.c @@ -2612,14 +2612,6 @@ static int bq2597x_charger_probe(struct i2c_client *client, struct device_node *node = client->dev.of_node; int ret; - bq_info("client->irq=%d", client->irq); - pr_err("%s: probe start\n", __func__); - ret = i2c_smbus_read_byte_data(client, BQ2597X_REG_13); - if (ret != BQ25968_DEVICE_ID && ret !=SC8551_DEVICE_ID && ret !=BQ25970_DEVICE_ID && ret != SC8551A_DEVICE_ID) { - bq_err("failed to communicate with chip, ret:%d\n", ret); - return -ENODEV; - } - bq_info("bq device id=0x%x\n", ret); bq = devm_kzalloc(&client->dev, sizeof(struct bq2597x), GFP_KERNEL); if (!bq) return -ENOMEM;