diff options
author | Roxana Blaj <roxanagabriela10@gmail.com> | 2014-09-24 18:18:43 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-09-28 22:17:23 -0400 |
commit | 580885415effd2bc661a2e00de0f9fa540c8fa13 (patch) | |
tree | ece431c3793a26d690f78e64615221e25cae202f /drivers/staging | |
parent | bb49a0f9b784d5ea872bf5fad8cf8964e243a216 (diff) |
staging: iio: frequency: add new line after declarations
This fixes the checkpatch.pl warning:
WARNING: Missing a blank line after declarations
Signed-off-by: Roxana Blaj <roxanagabriela10@gmail.com>
Acked-by: Daniel Baluta <daniel.baluta@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging')
-rw-r--r-- | drivers/staging/iio/frequency/ad9834.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/staging/iio/frequency/ad9834.c b/drivers/staging/iio/frequency/ad9834.c index 86cda6176093..5c803191c2ce 100644 --- a/drivers/staging/iio/frequency/ad9834.c +++ b/drivers/staging/iio/frequency/ad9834.c @@ -28,6 +28,7 @@ static unsigned int ad9834_calc_freqreg(unsigned long mclk, unsigned long fout) { unsigned long long freqreg = (u64) fout * (u64) (1 << AD9834_FREQ_BITS); + do_div(freqreg, mclk); return freqreg; } |