summaryrefslogtreecommitdiff
path: root/drivers/staging/iio/frequency
diff options
context:
space:
mode:
authorRoxana Blaj <roxanagabriela10@gmail.com>2014-09-24 18:18:43 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-09-28 22:17:23 -0400
commit580885415effd2bc661a2e00de0f9fa540c8fa13 (patch)
treeece431c3793a26d690f78e64615221e25cae202f /drivers/staging/iio/frequency
parentbb49a0f9b784d5ea872bf5fad8cf8964e243a216 (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/iio/frequency')
-rw-r--r--drivers/staging/iio/frequency/ad9834.c1
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;
}