Skip to contentSkip to conversation

Whitespace cleanups in ACPI modules.

PATCH New Matthew W. S. Bell 1 participant 1 message Feb 1, 2010

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 2/2 Whitespace cleanups in ACPI modules.

---
 drivers/acpi/acpi_memhotplug.c |    2 +-
 drivers/acpi/pci_slot.c        |    4 ++--
 drivers/acpi/processor_core.c  |    2 +-
 drivers/acpi/video.c           |   30 +++++++++++++++---------------
 4 files changed, 19 insertions(+), 19 deletions(-)
(quoted diff) +0 -0

b/drivers/acpi/acpi_memhotplug.c
index 1477243..7fbaa50 100644

drivers/acpi/acpi_memhotplug.c +1 -1
@@ -39,7 +39,7 @@
 #define _COMPONENT		ACPI_MEMORY_DEVICE_COMPONENT
 
 #undef PREFIX
-#define 	PREFIX		"ACPI:memory_hp:"
+#define		PREFIX		"ACPI:memory_hp:"
 
 ACPI_MODULE_NAME("acpi_memhotplug");
 MODULE_AUTHOR("Naveen B S <[email protected]>");
drivers/acpi/pci_slot.c +1 -1
index 91de70f..2bfba7b 100644
@@ -7,7 +7,7 @@
  *  review and fixes.
  *
  *  Copyright (C) 2007-2008 Hewlett-Packard Development Company, L.P.
- *  	Alex Chiang <[email protected]>
+ *	Alex Chiang <[email protected]>
  *
  *  This program is free software; you can redistribute it and/or

modify it
* under the terms and conditions of the GNU General Public License,
@@ -36,7 +36,7 @@
static int debug;
static int check_sta_before_sun;

-#define DRIVER_VERSION "0.1"
+#define DRIVER_VERSION "0.1"
#define DRIVER_AUTHOR "Alex Chiang <[email protected]>"
#define DRIVER_DESC "ACPI PCI Slot Detection Driver"
MODULE_AUTHOR(DRIVER_AUTHOR);

(quoted diff) +0 -0

b/drivers/acpi/processor_core.c
index ec742a4..b657307 100644

drivers/acpi/processor_core.c +0 -0
@@ -922,7 +922,7 @@ free:
 
 #ifdef CONFIG_ACPI_HOTPLUG_CPU
 

/*********************************************************************
*******
- * Acpi processor hotplug support *
+ * Acpi processor hotplug support *

**********************************************************************
******/

static int is_processor_present(acpi_handle handle)

drivers/acpi/video.c +0 -0
index 045e634..dd7845a 100644
@@ -730,7 +730,7 @@ acpi_video_bus_POST_options(struct acpi_video_bus

*video,

/*
* Arg:
- * video : video bus device pointer
+ * video : video bus device pointer
* bios_flag :
* 0. The system BIOS should NOT automatically switch(toggle)
* the active display output.
@@ -743,10 +743,10 @@ acpi_video_bus_POST_options(struct acpi_video_bus *video,
* lcd_flag :
* 0. The system BIOS should automatically control the brightness
level
* of the LCD when the power changes from AC to DC
- * 1. The system BIOS should NOT automatically control the
brightness
+ * 1. The system BIOS should NOT automatically control the
brightness
* level of the LCD when the power changes from AC to DC.
* Return Value:
- * -1 wrong arg.
+ * -1 wrong arg.
*/

static int
@@ -781,7 +781,7 @@ acpi_video_cmp_level(const void *a, const void *b)

/*
* Arg:
- * device : video output device (LCD, CRT, ..)
+ * device : video output device (LCD, CRT, ..)
*
* Return Value:
* Maximum brightness level
@@ -944,7 +944,7 @@ out:
* device : video output device (LCD, CRT, ..)
*
* Return Value:
- * None
+ * None
*
* Find out all required AML methods defined under the output
* device.
@@ -1054,10 +1054,10 @@ static void acpi_video_device_find_cap(struct acpi_video_device *device)

/*
* Arg:
- * device : video output device (VGA)
+ * device : video output device (VGA)
*
* Return Value:
- * None
+ * None
*
* Find out all required AML methods defined under the video bus
device.
*/
@@ -1805,10 +1805,10 @@ acpi_video_bus_get_one_device(struct acpi_device *device,

/*
* Arg:
- * video : video bus device
+ * video : video bus device
*
* Return:
- * none
+ * none
*
* Enumerate the video device list of the video bus,
* bind the ids with the corresponding video devices
@@ -1829,12 +1829,12 @@ static void acpi_video_device_rebind(struct acpi_video_bus *video)

/*

  *  Arg:
- *  	video	: video bus device 
- *  	device	: video output device under the video 
- *  		bus

+ * video : video bus device
+ * device : video output device under the video
+ * bus
*
* Return:
- * none
+ * none
*
* Bind the ids with the corresponding video devices
* under the video bus.
@@ -1858,10 +1858,10 @@ acpi_video_device_bind(struct acpi_video_bus *video,

/*
* Arg:
- * video : video bus device
+ * video : video bus device
*
* Return:
- * < 0 : error
+ * < 0 : error
*
* Call _DOD to enumerate all devices attached to display adapter *

Signature · 1 line
1.6.5