]> git.baikalelectronics.ru Git - kernel.git/commit
[media] mb86a20s: Use a macro for the number of layers
authorMauro Carvalho Chehab <mchehab@redhat.com>
Sun, 7 Apr 2013 23:50:34 +0000 (20:50 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 8 Apr 2013 10:10:17 +0000 (07:10 -0300)
commit351aa72c92a0480b4f5125aa0f6cbd9829560b83
tree08bdbefc7417c9d7786e9fd5040718e9fa75c925
parent64073e319d225192bbef1f904e97e3c0fe85fb85
[media] mb86a20s: Use a macro for the number of layers

Instead of using the magic number "3", use NUM_LAYERS macro
on all places that are related to the ISDB-T layers.
This makes the source code a little more readable.
No functional changes.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb-frontends/mb86a20s.c