treewide: silence printk spam

Signed-off-by: kdrag0n <dragon@khronodragon.com>
This commit is contained in:
kdrag0n
2018-12-01 14:53:46 -08:00
committed by ExactExampl
parent 1f210de087
commit 4673381093
7 changed files with 0 additions and 37 deletions

View File

@@ -2632,10 +2632,6 @@ DEFINE_SIMPLE_ATTRIBUTE(clock_enable_fops, clock_debug_enable_get,
do { \
if (m) \
seq_printf(m, fmt, ##__VA_ARGS__); \
else if (c) \
pr_cont(fmt, ##__VA_ARGS__); \
else \
pr_info(fmt, ##__VA_ARGS__); \
} while (0)
/*

View File

@@ -433,9 +433,6 @@ int dsi_backlight_update_status(struct backlight_device *bd)
if (panel->vr_mode && (bl_lvl < bl->bl_vr_min_safe_level))
bl_lvl = bl->bl_vr_min_safe_level;
pr_info("req:%d bl:%d state:0x%x\n",
bd->props.brightness, bl_lvl, bd->props.state);
rc = bl->update_bl(bl, bl_lvl);
if (rc) {
pr_err("unable to set backlight (%d)\n", rc);
@@ -762,8 +759,6 @@ int dsi_backlight_early_dpms(struct dsi_backlight_config *bl, int power_mode)
if (!bd)
return 0;
pr_info("power_mode:%d state:0x%0x\n", power_mode, bd->props.state);
mutex_lock(&bl->state_lock);
state = get_state_after_dpms(bl, power_mode);

View File

@@ -186,8 +186,6 @@ static int select_pin_ctl(struct fpc1020_data *fpc1020, const char *name)
fpc1020->pinctrl_state[i]);
if (rc)
dev_err(dev, "cannot select '%s'\n", name);
else
dev_info(dev, "Selected '%s'\n", name);
goto exit;
}
}
@@ -260,7 +258,6 @@ static int hw_reset(struct fpc1020_data *fpc1020)
usleep_range(RESET_HIGH_SLEEP2_MIN_US, RESET_HIGH_SLEEP2_MAX_US);
irq_gpio = gpio_get_value(fpc1020->irq_gpio);
dev_info(dev, "IRQ after reset %d\n", irq_gpio);
exit:
return rc;

View File

@@ -967,9 +967,6 @@ qpnp_pon_input_dispatch(struct qpnp_pon *pon, u32 pon_type)
return -EINVAL;
}
pr_info("PMIC input: code=%d, sts=0x%hhx, bit=0x%hhx, type=%d, os=%d\n",
cfg->key_code, pon_rt_sts, pon_rt_bit, cfg->pon_type,
cfg->old_state);
key_status = pon_rt_sts & pon_rt_bit;
if (pon->kpdpwr_dbc_enable && cfg->pon_type == PON_KPDPWR) {

View File

@@ -482,11 +482,6 @@ int sec_ts_wait_for_ready_with_count(struct sec_ts_data *ts, unsigned int ack,
sec_ts_delay(20);
}
input_info(true, &ts->client->dev,
"%s: %02X, %02X, %02X, %02X, %02X, %02X, %02X, %02X [%d]\n",
__func__, tBuff[0], tBuff[1], tBuff[2], tBuff[3],
tBuff[4], tBuff[5], tBuff[6], tBuff[7], retry);
return rc;
}
@@ -1268,9 +1263,6 @@ void sec_ts_set_grip_type(struct sec_ts_data *ts, u8 set_type)
{
u8 mode = G_NONE;
input_info(true, &ts->client->dev, "%s: re-init grip(%d), edh:%d, edg:%d, lan:%d\n", __func__,
set_type, ts->grip_edgehandler_direction, ts->grip_edge_range, ts->grip_landscape_mode);
/* edge handler */
if (ts->grip_edgehandler_direction != 0)
mode |= G_SET_EDGE_HANDLER;
@@ -1298,8 +1290,6 @@ static int sec_ts_pinctrl_configure(struct sec_ts_data *ts, bool enable)
{
struct pinctrl_state *state;
input_info(true, &ts->client->dev, "%s: %s\n", __func__, enable ? "ACTIVE" : "SUSPEND");
if (enable) {
state = pinctrl_lookup_state(ts->plat_data->pinctrl, "on_state");
if (IS_ERR(ts->plat_data->pinctrl))
@@ -2949,10 +2939,6 @@ static void sec_set_switch_gpio(struct sec_ts_data *ts, int gpio_value)
if (!gpio_is_valid(gpio))
return;
input_info(true, &ts->client->dev, "%s: toggling i2c switch to %s\n",
__func__, gpio_value == SEC_SWITCH_GPIO_VALUE_AP_MASTER ?
"AP" : "SLPI");
retval = gpio_direction_output(gpio, gpio_value);
if (retval < 0)
input_err(true, &ts->client->dev,
@@ -2966,8 +2952,6 @@ static void sec_ts_suspend_work(struct work_struct *work)
suspend_work);
int ret = 0;
input_info(true, &ts->client->dev, "%s\n", __func__);
mutex_lock(&ts->device_mutex);
reinit_completion(&ts->bus_resumed);
@@ -3011,8 +2995,6 @@ static void sec_ts_resume_work(struct work_struct *work)
resume_work);
int ret = 0;
input_info(true, &ts->client->dev, "%s\n", __func__);
mutex_lock(&ts->device_mutex);
#ifdef CONFIG_TOUCHSCREEN_TBN

View File

@@ -132,8 +132,6 @@ int sec_ts_sw_reset(struct sec_ts_data *ts)
return 0;
}
input_info(true, &ts->client->dev, "%s: sw_reset\n", __func__);
/* Sense_on */
ret = ts->sec_ts_i2c_write(ts, SEC_TS_CMD_SENSE_ON, NULL, 0);
if (ret < 0) {

View File

@@ -116,8 +116,6 @@ int tbn_release_bus(struct tbn_context *tbn)
struct tbn_kernel_release_bus_v01 req;
struct tbn_ssc_acquire_bus_v01 rsp;
dev_info(tbn->dev, "kernel releasing bus access from SLPI\n");
if (!tbn || !tbn->qmi_handle)
return -EINVAL;