linux/drivers/staging/gasket
Sanjana Sanikommu 0412737212 staging: gasket: apex: Prefer using the BIT macro
Challenge suggested by coccinelle.

Replace bit shifting on 1 with the BIT(x) macro.
Coccinelle script:

@@
constant c;
@@

-(1 << c)
+BIT(c)

Signed-off-by: Sanjana Sanikommu <sanjana99reddy99@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-03-29 17:15:55 +01:00
..
apex_driver.c staging: gasket: apex: Prefer using the BIT macro 2019-03-29 17:15:55 +01:00
apex.h staging: gasket: apex: move driver-private defines out of apex.h 2018-08-01 20:07:03 +02:00
gasket_constants.h staging: gasket: remove "reset type" param from framework 2018-08-02 11:00:21 +02:00
gasket_core.c staging: gasket: remove debug logs for callback invocation 2018-10-19 21:12:28 +02:00
gasket_core.h staging: gasket: Fix sparse "incorrect type in assignment" warnings. 2018-10-19 21:12:29 +02:00
gasket_interrupt.c staging: gasket: gasket_interuppt.c: Fix string split issue. 2019-03-18 07:49:45 +01:00
gasket_interrupt.h staging: gasket: interrupt: simplify interrupt init parameters 2018-08-27 19:43:44 +02:00
gasket_ioctl.c staging: gasket: remove "reset type" param from framework 2018-08-02 11:00:21 +02:00
gasket_ioctl.h staging: gasket: common ioctl dispatcher add __user annotations 2018-07-21 08:50:36 +02:00
gasket_page_table.c staging: gasket: formatting fixes 2018-11-12 14:43:15 -08:00
gasket_page_table.h staging: gasket: page table: fix header file include guard symbol 2018-08-01 20:07:03 +02:00
gasket_sysfs.c Staging: gasket: gasket_sysfs.c: Fix string split issue. 2019-03-18 18:53:17 +01:00
gasket_sysfs.h staging: gasket: Replace macro __ATTR with __ATTR_NULL 2019-03-18 07:05:58 +01:00
gasket.h staging: gasket: remove "reset type" param from framework 2018-08-02 11:00:21 +02:00
Kconfig staging: gasket: Kconfig: describe Apex as an Edge TPU device 2018-09-18 13:22:01 +02:00
Makefile
TODO staging: gasket: TODO: re-implement using UIO 2018-09-10 18:08:06 +02:00