OSDN Git Service

staging: iio: ad5933: Remove unnecessary space on casting
authorVictor Colombo <victorcolombo@gmail.com>
Mon, 22 Oct 2018 20:40:25 +0000 (17:40 -0300)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sat, 3 Nov 2018 09:44:33 +0000 (09:44 +0000)
This patch fixes the checkpatch.pl warning:

WARNING: No space is necessary after a cast

Signed-off-by: Victor Colombo <victorcolombo@gmail.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/staging/iio/impedance-analyzer/ad5933.c

index 8a920f6..7a216ea 100644 (file)
@@ -210,7 +210,7 @@ static int ad5933_set_freq(struct ad5933_state *st,
                u8 d8[4];
        } dat;
 
-       freqreg = (u64) freq * (u64) (1 << 27);
+       freqreg = (u64)freq * (u64)(1 << 27);
        do_div(freqreg, st->mclk_hz / 4);
 
        switch (reg) {