[PATCH AUTOSEL for 3.18 050/101] ACPI: EC: Fix EC command visibility for dynamic debug

2018-04-08 Thread Sasha Levin
From: Lv Zheng [ Upstream commit 4625d752e600c116e6327f9d7fc16e8f5be107e9 ] acpi_ec_cmd_string() currently is only enabled for "DEBUG" macro, but users trend to use CONFIG_DYNAMIC_DEBUG and enable ec.c pr_debug() print-outs by "dyndbg='file ec.c +p'". In this use case, all

[PATCH AUTOSEL for 3.18 050/101] ACPI: EC: Fix EC command visibility for dynamic debug

2018-04-08 Thread Sasha Levin
From: Lv Zheng [ Upstream commit 4625d752e600c116e6327f9d7fc16e8f5be107e9 ] acpi_ec_cmd_string() currently is only enabled for "DEBUG" macro, but users trend to use CONFIG_DYNAMIC_DEBUG and enable ec.c pr_debug() print-outs by "dyndbg='file ec.c +p'". In this use case, all command names are