]> git.karo-electronics.de Git - linux-beck.git/commit
[media] dib0700: avoid the risk of forgetting to add the adapter's size
authorMauro Carvalho Chehab <mchehab@osg.samsung.com>
Wed, 13 May 2015 21:51:19 +0000 (18:51 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Thu, 14 May 2015 22:31:34 +0000 (19:31 -0300)
commit0fae1997f09796aca8ada5edc028aef587f6716c
tree26ac06a342afc20bb74f9ea5fd8dbe080132a82b
parent77978089ddc90347644cc057e6b6cd169ac9abd4
[media] dib0700: avoid the risk of forgetting to add the adapter's size

For every frontend entry, we need to add the adapter's size. There
are already two patches fixing it. So, it doesn't seem trivial to
keep it there at the right place.

Also, currently, the indentation is wrong on all places.

So, it seems that keeping it right is not too trivial.

Better to use a macro that would do it for us, at least while
this is not converted to dvb-usb-v2.

Compile-tested only.

Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/usb/dvb-usb/dib0700_devices.c