Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 227113
b: refs/heads/master
c: 47c78e8
h: refs/heads/master
i:
  227111: ad63763
v: v3
  • Loading branch information
Henrik Rydberg committed Dec 16, 2010
1 parent 2f7f5e5 commit ea540e5
Show file tree
Hide file tree
Showing 57 changed files with 698 additions and 2,893 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 56a8bd6dcf81693e61a712097216904f3a4ab536
refs/heads/master: 47c78e891323513e9909729b44033e2c6649e2b7
115 changes: 0 additions & 115 deletions trunk/Documentation/input/cma3000_d0x.txt

This file was deleted.

141 changes: 0 additions & 141 deletions trunk/arch/arm/plat-spear/include/plat/keyboard.h

This file was deleted.

1 change: 1 addition & 0 deletions trunk/drivers/hid/hid-3m-pct.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/usb.h>
#include <linux/input/mt.h>

MODULE_AUTHOR("Stephane Chatty <chatty@enac.fr>");
MODULE_DESCRIPTION("3M PCT multitouch panels");
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/input/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# Each configuration option enables a list of files.

obj-$(CONFIG_INPUT) += input-core.o
input-core-y := input.o input-compat.o ff-core.o
input-core-objs := input.o input-compat.o ff-core.o input-mt.o

obj-$(CONFIG_INPUT_FF_MEMLESS) += ff-memless.o
obj-$(CONFIG_INPUT_POLLDEV) += input-polldev.o
Expand Down
14 changes: 8 additions & 6 deletions trunk/drivers/input/apm-power.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@
*
*/

#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt

#include <linux/module.h>
#include <linux/input.h>
#include <linux/slab.h>
Expand All @@ -25,7 +23,8 @@ static void system_power_event(unsigned int keycode)
switch (keycode) {
case KEY_SUSPEND:
apm_queue_event(APM_USER_SUSPEND);
pr_info("Requesting system suspend...\n");

printk(KERN_INFO "apm-power: Requesting system suspend...\n");
break;
default:
break;
Expand Down Expand Up @@ -66,15 +65,18 @@ static int apmpower_connect(struct input_handler *handler,

error = input_register_handle(handle);
if (error) {
pr_err("Failed to register input power handler, error %d\n",
error);
printk(KERN_ERR
"apm-power: Failed to register input power handler, "
"error %d\n", error);
kfree(handle);
return error;
}

error = input_open_device(handle);
if (error) {
pr_err("Failed to open input power device, error %d\n", error);
printk(KERN_ERR
"apm-power: Failed to open input power device, "
"error %d\n", error);
input_unregister_handle(handle);
kfree(handle);
return error;
Expand Down
18 changes: 8 additions & 10 deletions trunk/drivers/input/evbug.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@
* Vojtech Pavlik, Simunkova 1594, Prague 8, 182 00 Czech Republic
*/

#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt

#include <linux/slab.h>
#include <linux/module.h>
#include <linux/input.h>
Expand All @@ -40,8 +38,8 @@ MODULE_LICENSE("GPL");

static void evbug_event(struct input_handle *handle, unsigned int type, unsigned int code, int value)
{
printk(KERN_DEBUG pr_fmt("Event. Dev: %s, Type: %d, Code: %d, Value: %d\n"),
dev_name(&handle->dev->dev), type, code, value);
printk(KERN_DEBUG "evbug.c: Event. Dev: %s, Type: %d, Code: %d, Value: %d\n",
dev_name(&handle->dev->dev), type, code, value);
}

static int evbug_connect(struct input_handler *handler, struct input_dev *dev,
Expand All @@ -66,10 +64,10 @@ static int evbug_connect(struct input_handler *handler, struct input_dev *dev,
if (error)
goto err_unregister_handle;

printk(KERN_DEBUG pr_fmt("Connected device: %s (%s at %s)\n"),
dev_name(&dev->dev),
dev->name ?: "unknown",
dev->phys ?: "unknown");
printk(KERN_DEBUG "evbug.c: Connected device: %s (%s at %s)\n",
dev_name(&dev->dev),
dev->name ?: "unknown",
dev->phys ?: "unknown");

return 0;

Expand All @@ -82,8 +80,8 @@ static int evbug_connect(struct input_handler *handler, struct input_dev *dev,

static void evbug_disconnect(struct input_handle *handle)
{
printk(KERN_DEBUG pr_fmt("Disconnected device: %s\n"),
dev_name(&handle->dev->dev));
printk(KERN_DEBUG "evbug.c: Disconnected device: %s\n",
dev_name(&handle->dev->dev));

input_close_device(handle);
input_unregister_handle(handle);
Expand Down
Loading

0 comments on commit ea540e5

Please sign in to comment.