media: hackrf: group device capabilities
authorGustavo Padovan <gustavo.padovan@collabora.com>
Fri, 4 May 2018 20:05:59 +0000 (16:05 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Fri, 11 May 2018 15:25:23 +0000 (11:25 -0400)
commitf1d00607afd69354a3cc29ef13e95ccb3fef8a77
tree48fbb2ba2f2614213f891df5fada468a07db01a6
parent6d2eaece20ffe783cdbcedd7ef2d6ae51d846d33
media: hackrf: group device capabilities

Instead of putting V4L2_CAP_STREAMING and V4L2_CAP_READWRITE
everywhere, set device_caps earlier with these values.

Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.com>
Signed-off-by: Hans Verkuil <hansverk@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/usb/hackrf/hackrf.c