Re: [PATCH] comedi: me_daq: Fix coding style - use BIT macro

From: Dan Carpenter
Date: Mon Nov 09 2015 - 12:28:16 EST


On Mon, Nov 09, 2015 at 10:43:56PM +0530, Ranjith wrote:
> +#define ADC_GAIN_2 (BIT(5) & (~BIT(4)))

It looks really weird to write it this way...

regards,
dan carpenter

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/