wl2866d: silence logspam

Signed-off-by: Yaroslav Furman <yaro330@gmail.com>
Signed-off-by: azrim <mirzaspc@gmail.com>
This commit is contained in:
Yaroslav Furman 2020-11-21 23:41:51 +03:00 committed by azrim
parent fa5936590b
commit 4e8cb17df7
No known key found for this signature in database
GPG Key ID: 497F8FB059B45D1C

View File

@ -782,7 +782,6 @@ static int wl2866d_suspend(struct device *dev)
struct wl2866d_chip *chip = i2c_get_clientdata(client);
int ret = 0;
pr_err("%s\n", __func__);
ret = wl2866d_i2c_write(chip, wl2866d_on_config[VOL_DISABLE].reg, wl2866d_on_config[VOL_DISABLE].value);
if (ret < 0)
pr_err("wl2866d close voltage failed\n");
@ -798,7 +797,6 @@ static int wl2866d_resume(struct device *dev)
//#ifdef __XIAOMI_CAMERA__
//int ret = 0;
pr_err("%s\n", __func__);
wl2866d_enable_power(chip);
gpio_direction_output(chip->en_gpio, 0);
/*