• M
    [media] ir-kbd-i2c: add rc_dev as a parameter to the driver · 2eb25832
    Mauro Carvalho Chehab 提交于
    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: NMauro Carvalho Chehab <mchehab@redhat.com>
    2eb25832
ir-kbd-i2c.h 1.2 KB