summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorDavid Herrmann <dh.herrmann@gmail.com>2013-10-06 01:15:08 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2013-10-06 01:23:26 -0700
commita60a71b035e4d2f4920ef091265b1474a14ab313 (patch)
tree986f1b7680e5757b3283ebcf23a4a3b230aebeac /scripts
parent2f0d2604134880f739642fd7c3ae55db33c838e7 (diff)
Input: move name/timer init to input_alloc_dev()
We want to allow drivers to call input_event() at any time after the device got allocated. This means input_event() and input_register_device() must be allowed to run in parallel. The only conflicting calls in input_register_device() are init_timer() and dev_set_name(). Both can safely be moved to device allocation and we're good to go. Signed-off-by: David Herrmann <dh.herrmann@gmail.com> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions