[media] sur40: set q->dev instead of allocating a context
authorHans Verkuil <hans.verkuil@cisco.com>
Wed, 16 Dec 2015 10:34:37 +0000 (08:34 -0200)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Fri, 8 Jul 2016 17:35:23 +0000 (14:35 -0300)
commit0e2f511894ceca86d2cc006a363a1be0b17ca359
treecc466cee420d5f9eaab01315a26b3b33080a265f
parent8f10c2db775ebac0646b9651f32d7f8f0f0a029c
[media] sur40: set q->dev instead of allocating a context

Stop using alloc_ctx and just fill in the device pointer.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Cc: Florian Echtler <floe@butterbrot.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/input/touchscreen/sur40.c