fujitsu-laptop: remove unnecessary input_free_device calls
input_free_device() should only be used if input_register_device() was not called yet or if it failed. This patch removes unnecessary input_free_device calls. Signed-off-by: NAxel Lin <axel.lin@gmail.com> Acked-by: NJonathan Woithe <jwoithe@physics.adelaide.edu.au> Acked-by: NDmitry Torokhov <dtor@mail.ru> Cc: Matthew Garrett <mjg@redhat.com>a Signed-off-by: NAndrew Morton <akpm@linux-foundation.org> Signed-off-by: NMatthew Garrett <mjg@redhat.com>
Showing
想要评论请 注册 或 登录