diff --git a/drivers/input/touchscreen/sec_mmi/sec_ts_mmi.c b/drivers/input/touchscreen/sec_mmi/sec_ts_mmi.c index e5fae04b8377..051b7a45b656 100644 --- a/drivers/input/touchscreen/sec_mmi/sec_ts_mmi.c +++ b/drivers/input/touchscreen/sec_mmi/sec_ts_mmi.c @@ -788,8 +788,8 @@ static int sec_mmi_panel_cb(struct notifier_block *nb, sec_mmi_display_on(data); break; #endif - default: - dev_dbg(DEV_MMI, "%s: function not implemented\n", __func__); + default: /* use DEV_TS here to avoid unused variable */ + dev_dbg(DEV_TS, "%s: function not implemented\n", __func__); break; }