]> git.karo-electronics.de Git - karo-tx-linux.git/commit
[media] drxk: remove _0 from read/write routines
authorMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 9 Jul 2011 12:50:21 +0000 (09:50 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sun, 10 Jul 2011 19:38:29 +0000 (16:38 -0300)
commit0d922bda47ca9c77e86232137cea520b99ef779d
treeb85c3607e7f980c9def0480a6cd2787a0af401ae
parentfcfcc79e2a5627b235b531458f89c2c91fc9cc0b
[media] drxk: remove _0 from read/write routines

The normal 16-bits read routine is called as "Read16_0". This is
due to a flags that could optionally be passed. Yet, on no places
at the code, a flag is passed there.

The same happens with 16-bits write and 32-read/write routines,
and with WriteBlock.

Also, using flags, is an exception: there's no place currently using
flags, except for an #ifdef at WriteBlock.

Rename the function as just "read16", and the one that requires flags,
as "read16_flags".

This helps to see where the flags are used, and also avoid using
CamelCase on Kernel.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/frontends/drxk_hard.c