26 Jan, 2013
1 commit
-
The second argument of ACPI driver .remove() operation is only used
by the ACPI processor driver and the value passed to that driver
through it is always available from the given struct acpi_device
object's removal_type field. For this reason, the second ACPI driver
.remove() argument is in fact useless, so drop it.Signed-off-by: Rafael J. Wysocki
Reviewed-by: Jiang Liu
Acked-by: Toshi Kani
Acked-by: Yinghai Lu
14 Feb, 2012
3 commits
-
acpi_size is u32 or u64 depending on architecture. Cast it to
unsigned long and use %lu for printing.This fix following build warning:
drivers/staging/quickstart/quickstart.c: In function ‘quickstart_acpi_ghid’:
drivers/staging/quickstart/quickstart.c:212:5: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 3 has type ‘acpi_size’ [-Wformat]Signed-off-by: Szymon Janc
Signed-off-by: Greg Kroah-Hartman -
Signed-off-by: Szymon Janc
Signed-off-by: Greg Kroah-Hartman -
Use scnprintf instead of snprintf in quickstart_pressed_button_show as
suggested in Documentation/filesystems/sysfs.txt.Signed-off-by: Szymon Janc
Signed-off-by: Greg Kroah-Hartman
10 Feb, 2012
1 commit
-
Signed-off-by: Szymon Janc
Signed-off-by: Greg Kroah-Hartman
09 Feb, 2012
14 commits
-
Signed-off-by: Szymon Janc
Signed-off-by: Greg Kroah-Hartman -
Button id is of unsigned int type.
Signed-off-by: Szymon Janc
Signed-off-by: Greg Kroah-Hartman -
Signed-off-by: Szymon Janc
Signed-off-by: Greg Kroah-Hartman -
Signed-off-by: Szymon Janc
Signed-off-by: Greg Kroah-Hartman -
Signed-off-by: Szymon Janc
Signed-off-by: Greg Kroah-Hartman -
Signed-off-by: Szymon Janc
Signed-off-by: Greg Kroah-Hartman -
Signed-off-by: Szymon Janc
Signed-off-by: Greg Kroah-Hartman -
Signed-off-by: Szymon Janc
Signed-off-by: Greg Kroah-Hartman -
Signed-off-by: Szymon Janc
Signed-off-by: Greg Kroah-Hartman -
Also fix memory leak (buffer.pointer) when returned buffer of length
less than 8.Signed-off-by: Szymon Janc
Signed-off-by: Greg Kroah-Hartman -
Signed-off-by: Szymon Janc
Signed-off-by: Greg Kroah-Hartman -
Signed-off-by: Szymon Janc
Signed-off-by: Greg Kroah-Hartman -
Signed-off-by: Szymon Janc
Signed-off-by: Greg Kroah-Hartman -
Signed-off-by: Szymon Janc
Signed-off-by: Greg Kroah-Hartman
10 Feb, 2011
1 commit
-
Fixed the Following coding Style Issues:
drivers/staging/quickstart/quickstart.c:8: ERROR: trailing whitespace
drivers/staging/quickstart/quickstart.c:144: ERROR: spaces required around that '?' (ctx:VxV)
drivers/staging/quickstart/quickstart.c:144: ERROR: spaces required around that ':' (ctx:VxV)Signed-off-by: Timo von Holtz
Signed-off-by: Greg Kroah-Hartman
17 Nov, 2010
1 commit
-
input_unregister_device() releases "quickstart_input" so the
input_free_device() is a double free. Also I noticed that there is a
memory leak if the call to input_register_device() fails.Signed-off-by: Dan Carpenter
Signed-off-by: Greg Kroah-Hartman
29 Oct, 2010
1 commit
-
This merges the staging-next tree to Linus's tree and resolves
some conflicts that were present due to changes in other trees that were
affected by files here.Signed-off-by: Greg Kroah-Hartman
18 Oct, 2010
1 commit
-
The patch below updates broken web addresses in the kernel
Signed-off-by: Justin P. Mattock
Cc: Maciej W. Rozycki
Cc: Geert Uytterhoeven
Cc: Finn Thain
Cc: Randy Dunlap
Cc: Matt Turner
Cc: Dimitry Torokhov
Cc: Mike Frysinger
Acked-by: Ben Pfaff
Acked-by: Hans J. Koch
Reviewed-by: Finn Thain
Signed-off-by: Jiri Kosina
01 Sep, 2010
1 commit
-
acpi_bus_register_driver() returns an int, not acpi_status. It returns
zero on success and negative error codes on failure, but acpi_status is
unsigned. We can just use "ret" here.Signed-off-by: Dan Carpenter
Signed-off-by: Greg Kroah-Hartman
09 Jul, 2010
1 commit
-
This adds the quickstart acpi key driver to the staging tree
Signed-off-by: Greg Kroah-Hartman