From: David Herrmann Date: Sun, 6 Oct 2013 08:15:08 +0000 (-0700) Subject: Input: move name/timer init to input_alloc_dev() X-Git-Tag: v3.12~14^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a60a71b035e4d2f4920ef091265b1474a14ab313;p=pandora-kernel.git 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 Signed-off-by: Dmitry Torokhov --- Reading git-diff-tree failed