From: Roxana Blaj Date: Wed, 24 Sep 2014 15:18:43 +0000 (+0300) Subject: staging: iio: frequency: add new line after declarations X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=580885415effd2bc661a2e00de0f9fa540c8fa13;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git 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 --- 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; }