From 580885415effd2bc661a2e00de0f9fa540c8fa13 Mon Sep 17 00:00:00 2001 From: Roxana Blaj Date: Wed, 24 Sep 2014 18:18:43 +0300 Subject: [PATCH] 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 Acked-by: Daniel Baluta Signed-off-by: Greg Kroah-Hartman --- drivers/staging/iio/frequency/ad9834.c | 1 + 1 file changed, 1 insertion(+) 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; } -- 2.20.1