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

Dan Carpenter dan.carpenter at oracle.com
Mon Nov 9 17:27:53 UTC 2015


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



More information about the devel mailing list