From: Jarod Wilson Date: Wed, 28 Jul 2010 01:29:44 +0000 (-0300) Subject: V4L/DVB: IR/imon: remove bad ir_input_dev use X-Git-Tag: v2.6.36-rc1~289^2~59 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=da48db669f50d47c208da3648dca7cac7ea6dcca;p=pandora-kernel.git V4L/DVB: IR/imon: remove bad ir_input_dev use The ir_input_dev gets filled in by __ir_input_register, the one allocated in imon_init_idev was being overwritten by the correct one shortly after it was initialized (ultimately resulting in a memory leak). Additionally, there was an ill-advised memcpy into that extraneous ir_input_dev which gets fixed by this. Ill-advised memcpy pointed out by Dmitry Torokhov, bad usage of ir_input_dev pointed out by Maxim Levitsky. Signed-off-by: Jarod Wilson Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed