From: Mauro Carvalho Chehab Date: Fri, 12 Nov 2010 12:02:40 +0000 (-0300) Subject: [media] ir-kbd-i2c: add rc_dev as a parameter to the driver X-Git-Tag: v2.6.38-rc1~470^2~207 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2eb258327722de3ed4d84ce1b9add2bad21a0ec4;p=pandora-kernel.git [media] ir-kbd-i2c: add rc_dev as a parameter to the driver There are several fields on rc_dev that drivers can benefit. Allow drivers to pass it as a parameter to the driver. For now, the rc_dev parameter is optional. If drivers don't pass it, create them internally. However, the best is to create rc_dev inside the drivers, in order to fill other fields, like open(), close(), driver_name, etc. So, a latter patch making it mandatory and changing the caller drivers is welcome. Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed