2007-09-15 10:15:57

by Matěj Laitl

[permalink] [raw]
Subject: [PATCH v2] Kconfig: Make MSI Laptop select BACKLIGHT_CLASS_DEVICE instead of depend

From: Matěj Laitl <[email protected]>

This simple patch helps users reveal this config option and makes MSI Laptop
more coherent with other laptop extras found in misc devices.

(this option was hidden until user says y to BACKLIGHT_CLASS_DEVICE under
Graphics drivers)

When at it, convert space indentation to tabs to match CodingStyle.

Signed-off-by: Matěj Laitl <[email protected]>
Acked-by: Lennart Poettering <[email protected]>
---
Please ignore any garbage from me that may have arrived in your inbox when I
tried to send v1 of my patch. My apologies. (mail client misconfiguration)

Only change since v1 of this patch is space -> tabs conversion.

drivers/misc/Kconfig | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/drivers/misc/Kconfig b/drivers/misc/Kconfig
index a266558..8edf0fa 100644
--- a/drivers/misc/Kconfig
+++ b/drivers/misc/Kconfig
@@ -112,11 +112,11 @@ config ASUS_LAPTOP
If you have an ACPI-compatible ASUS laptop, say Y or M here.

config MSI_LAPTOP
- tristate "MSI Laptop Extras"
- depends on X86
- depends on ACPI_EC
- depends on BACKLIGHT_CLASS_DEVICE
- ---help---
+ tristate "MSI Laptop Extras"
+ depends on X86
+ depends on ACPI_EC
+ select BACKLIGHT_CLASS_DEVICE
+ ---help---
This is a driver for laptops built by MSI (MICRO-STAR
INTERNATIONAL):

--
1.5.1.6