]> git.baikalelectronics.ru Git - kernel.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)
commit7c9976a5d33cb7b571463d0cf83fd48d8a236f7e
tree26ac06a342afc20bb74f9ea5fd8dbe080132a82b
parent57c487f71128d0abfccf20fab7dc3f404dc23d3b
[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