]> 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)
commit70feaf9777a38a2fb4a63d21f0f8c3496432c7e2
tree26ac06a342afc20bb74f9ea5fd8dbe080132a82b
parent1fffdb19ea5bd3a53bb58a2302b8b03c86068592
[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