On Sun, Nov 1, 2015 at 11:59 AM, Ranjith <ranjithec...@gmail.com> wrote:
> BIT macro is used for defining bit location instead of shifting
> operator -  coding style issue

>  #define APCI1032_CTRL_INT_OR           (0 << 1)

> +#define APCI1032_CTRL_INT_AND          BIT(1)

And now you have two styles at the same time. I wouldn't change the
current definitions.

-- 
With Best Regards,
Andy Shevchenko
_______________________________________________
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Reply via email to