]> git.kernelconcepts.de Git - karo-tx-linux.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)
commit4f62a20dfbdf46825dea707a033f941874e34930
tree08bdbefc7417c9d7786e9fd5040718e9fa75c925
parent1bacb2df3bc999dcad21e9aab6bdb60d6dc7bc02
[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