Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 40711
b: refs/heads/master
c: 9d92fe1
h: refs/heads/master
i:
  40709: 6f34d03
  40707: 876b983
  40703: b27c2e0
v: v3
  • Loading branch information
Dmitry Torokhov committed Nov 17, 2006
1 parent ef41cec commit dd68d5b
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 24 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: f40219bf936bb677566f42758d505e27fad0908e
refs/heads/master: 9d92fe17b652f5496c97bc83fdfe925f3182f602
18 changes: 0 additions & 18 deletions trunk/drivers/input/serio/serio.c
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ EXPORT_SYMBOL(serio_interrupt);
EXPORT_SYMBOL(__serio_register_port);
EXPORT_SYMBOL(serio_unregister_port);
EXPORT_SYMBOL(serio_unregister_child_port);
EXPORT_SYMBOL(__serio_unregister_port_delayed);
EXPORT_SYMBOL(__serio_register_driver);
EXPORT_SYMBOL(serio_unregister_driver);
EXPORT_SYMBOL(serio_open);
Expand All @@ -64,7 +63,6 @@ static struct bus_type serio_bus;

static void serio_add_driver(struct serio_driver *drv);
static void serio_add_port(struct serio *serio);
static void serio_destroy_port(struct serio *serio);
static void serio_reconnect_port(struct serio *serio);
static void serio_disconnect_port(struct serio *serio);

Expand Down Expand Up @@ -173,7 +171,6 @@ enum serio_event_type {
SERIO_RESCAN,
SERIO_RECONNECT,
SERIO_REGISTER_PORT,
SERIO_UNREGISTER_PORT,
SERIO_REGISTER_DRIVER,
};

Expand Down Expand Up @@ -307,11 +304,6 @@ static void serio_handle_event(void)
serio_add_port(event->object);
break;

case SERIO_UNREGISTER_PORT:
serio_disconnect_port(event->object);
serio_destroy_port(event->object);
break;

case SERIO_RECONNECT:
serio_reconnect_port(event->object);
break;
Expand Down Expand Up @@ -716,16 +708,6 @@ void serio_unregister_child_port(struct serio *serio)
mutex_unlock(&serio_mutex);
}

/*
* Submits register request to kseriod for subsequent execution.
* Can be used when it is not obvious whether the serio_mutex is
* taken or not and when delayed execution is feasible.
*/
void __serio_unregister_port_delayed(struct serio *serio, struct module *owner)
{
serio_queue_event(serio, owner, SERIO_UNREGISTER_PORT);
}


/*
* Serio driver operations
Expand Down
5 changes: 0 additions & 5 deletions trunk/include/linux/serio.h
Original file line number Diff line number Diff line change
Expand Up @@ -85,11 +85,6 @@ static inline void serio_register_port(struct serio *serio)

void serio_unregister_port(struct serio *serio);
void serio_unregister_child_port(struct serio *serio);
void __serio_unregister_port_delayed(struct serio *serio, struct module *owner);
static inline void serio_unregister_port_delayed(struct serio *serio)
{
__serio_unregister_port_delayed(serio, THIS_MODULE);
}

void __serio_register_driver(struct serio_driver *drv, struct module *owner);
static inline void serio_register_driver(struct serio_driver *drv)
Expand Down

0 comments on commit dd68d5b

Please sign in to comment.