diff options
author | Eric Curtin <ericcurtin17@gmail.com> | 2016-01-30 11:55:59 -0500 |
---|---|---|
committer | Darren Hart <dvhart@linux.intel.com> | 2016-03-23 13:05:25 -0400 |
commit | 15c75626f0999cce8357c8bf8578247134032acb (patch) | |
tree | 0910177f348e17a5f7a3c84ae0427d5b462e4752 | |
parent | ec5eeadc44bf05a8619627d6882fdf5775c19396 (diff) |
thinkpad_acpi: Remove ambiguous logging for "Unsupported brightness interface"
"Unsupported brightness interface" message gets logged on
machines that are well supported.
Signed-off-by: Eric Curtin <ericcurtin17@gmail.com>
Acked-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
-rw-r--r-- | drivers/platform/x86/thinkpad_acpi.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/platform/x86/thinkpad_acpi.c b/drivers/platform/x86/thinkpad_acpi.c index a268a7abf8ab..e305ab541a22 100644 --- a/drivers/platform/x86/thinkpad_acpi.c +++ b/drivers/platform/x86/thinkpad_acpi.c | |||
@@ -6653,18 +6653,16 @@ static void __init tpacpi_detect_brightness_capabilities(void) | |||
6653 | switch (b) { | 6653 | switch (b) { |
6654 | case 16: | 6654 | case 16: |
6655 | bright_maxlvl = 15; | 6655 | bright_maxlvl = 15; |
6656 | pr_info("detected a 16-level brightness capable ThinkPad\n"); | ||
6657 | break; | 6656 | break; |
6658 | case 8: | 6657 | case 8: |
6659 | case 0: | 6658 | case 0: |
6660 | bright_maxlvl = 7; | 6659 | bright_maxlvl = 7; |
6661 | pr_info("detected a 8-level brightness capable ThinkPad\n"); | ||
6662 | break; | 6660 | break; |
6663 | default: | 6661 | default: |
6664 | pr_info("Unsupported brightness interface\n"); | ||
6665 | tp_features.bright_unkfw = 1; | 6662 | tp_features.bright_unkfw = 1; |
6666 | bright_maxlvl = b - 1; | 6663 | bright_maxlvl = b - 1; |
6667 | } | 6664 | } |
6665 | pr_debug("detected %u brightness levels\n", bright_maxlvl + 1); | ||
6668 | } | 6666 | } |
6669 | 6667 | ||
6670 | static int __init brightness_init(struct ibm_init_struct *iibm) | 6668 | static int __init brightness_init(struct ibm_init_struct *iibm) |