diff options
author | Steven Toth <stoth@linuxtv.org> | 2008-10-16 19:31:56 -0400 |
---|---|---|
committer | Steven Toth <stoth@linuxtv.org> | 2008-10-16 19:31:56 -0400 |
commit | e6236e8ddedbbd6189021eac4c7071fda656bcfd (patch) | |
tree | 9d4f0eeffe8c314fcf28d34a3f0c357b5bd75f9a /linux | |
parent | c68f8a1e41810d2f39e380717f2289deb7dde7c8 (diff) | |
download | mediapointer-dvb-s2-e6236e8ddedbbd6189021eac4c7071fda656bcfd.tar.gz mediapointer-dvb-s2-e6236e8ddedbbd6189021eac4c7071fda656bcfd.tar.bz2 |
mxl5005s: Checkpatch compliance
From: Steven Toth <stoth@linuxtv.org>
mxl5005s: Checkpatch compliance
Priority: normal
Signed-off-by: Steven Toth <stoth@linuxtv.org>
Diffstat (limited to 'linux')
-rw-r--r-- | linux/drivers/media/common/tuners/mxl5005s.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/linux/drivers/media/common/tuners/mxl5005s.c b/linux/drivers/media/common/tuners/mxl5005s.c index 20405506a..4cdca9f88 100644 --- a/linux/drivers/media/common/tuners/mxl5005s.c +++ b/linux/drivers/media/common/tuners/mxl5005s.c @@ -3483,7 +3483,9 @@ static u16 MXL_ControlWrite_Group(struct dvb_frontend *fe, u16 controlNum, } ctrlVal = 0; for (k = 0; k < state->MXL_Ctrl[i].size; k++) - ctrlVal += state->MXL_Ctrl[i].val[k] * (1 << k); + ctrlVal += state-> + MXL_Ctrl[i].val[k] * + (1 << k); } else return -1; } @@ -3583,7 +3585,7 @@ static void MXL_RegWriteBit(struct dvb_frontend *fe, u8 address, u8 bit, static u32 MXL_Ceiling(u32 value, u32 resolution) { - return (value/resolution + (value % resolution > 0 ? 1 : 0)); + return value / resolution + (value % resolution > 0 ? 1 : 0); } /* Retrieve the Initialzation Registers */ |