staging: media: bcm2048: remove unnecessary space after a cast
authorAmarjargal Gundjalam <amarjargal.gundjalam@gmail.com>
Sat, 31 Oct 2015 08:56:40 +0000 (01:56 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 16 Nov 2015 04:02:47 +0000 (20:02 -0800)
This patch fixes the checkpatch issue:

CHECK: No space is necessary after a cast

Signed-off-by: Amarjargal Gundjalam <amarjargal.gundjalam@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/media/bcm2048/radio-bcm2048.c

index 9a69d17c3eab4789ca3b3e2c9740266e1dffc815..82f4df40f166eff0014c1eebf5c4f05ca7ad0d97 100644 (file)
 #define dev_to_v4l2(f) ((f * BCM2048_FREQDEV_UNIT) / BCM2048_FREQV4L2_MULTI)
 #define v4l2_to_dev(f) ((f * BCM2048_FREQV4L2_MULTI) / BCM2048_FREQDEV_UNIT)
 
-#define msb(x)                  ((u8)((u16) x >> 8))
-#define lsb(x)                  ((u8)((u16) x &  0x00FF))
+#define msb(x)                  ((u8)((u16)x >> 8))
+#define lsb(x)                  ((u8)((u16)x &  0x00FF))
 #define compose_u16(msb, lsb)  (((u16)msb << 8) | lsb)
 
 #define BCM2048_DEFAULT_POWERING_DELAY 20