V4L/DVB (7751): ir-kbd-i2c: Save a temporary memory allocation in ir_probe
authorJean Delvare <khali@linux-fr.org>
Fri, 25 Apr 2008 23:42:45 +0000 (20:42 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Sat, 26 Apr 2008 12:29:58 +0000 (09:29 -0300)
commit37c45df740f79c58bb0fc0de151fd2504234032b
treefa67e740835ab5600f078189e4d5e5519eecf059
parentb33d24c4cc14ee40d83a7e1ea0bfb9567d6059aa
V4L/DVB (7751): ir-kbd-i2c: Save a temporary memory allocation in ir_probe

Using i2c_transfer instead of i2c_master_recv in ir_probe saves a
temporary memory allocation.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/ir-kbd-i2c.c