Use pr_info() for regular information

This commit is contained in:
Hin-Tak Leung 2020-08-13 17:08:51 +01:00
parent 140a220946
commit 5ce09f2095

View file

@ -1436,8 +1436,8 @@ static int ac108_i2c_probe(struct i2c_client *i2c, const struct i2c_device_id *i
if (of_property_read_u32(np, "tdm-chips-count", &val)) val = 1; if (of_property_read_u32(np, "tdm-chips-count", &val)) val = 1;
ac10x->tdm_chips_cnt = val; ac10x->tdm_chips_cnt = val;
pr_err(" ac10x i2c_id number: %d\n", index); pr_info(" ac10x i2c_id number: %d\n", index);
pr_err(" ac10x data protocol: %d\n", ac10x->data_protocol); pr_info(" ac10x data protocol: %d\n", ac10x->data_protocol);
ac10x->i2c[index] = i2c; ac10x->i2c[index] = i2c;
ac10x->i2cmap[index] = devm_regmap_init_i2c(i2c, &ac108_regmap); ac10x->i2cmap[index] = devm_regmap_init_i2c(i2c, &ac108_regmap);
@ -1459,7 +1459,7 @@ static int ac108_i2c_probe(struct i2c_client *i2c, const struct i2c_device_id *i
ac10x_fill_regcache(&i2c->dev, ac10x->i2cmap[index]); ac10x_fill_regcache(&i2c->dev, ac10x->i2cmap[index]);
ac10x->codec_cnt++; ac10x->codec_cnt++;
pr_err(" ac10x codec count : %d\n", ac10x->codec_cnt); pr_info(" ac10x codec count : %d\n", ac10x->codec_cnt);
ret = sysfs_create_group(&i2c->dev.kobj, &ac108_debug_attr_group); ret = sysfs_create_group(&i2c->dev.kobj, &ac108_debug_attr_group);
if (ret) { if (ret) {