OSDN Git Service

staging: olpc_dcon: Replace a bit shift by a use of BIT.
authorAnchal Jain <anchalj109@gmail.com>
Sun, 18 Sep 2016 06:46:40 +0000 (12:16 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 18 Sep 2016 07:13:35 +0000 (09:13 +0200)
commited88363e6aebb91df820e1a8898d2a07b18d2bc9
treee761fd8fef65ef8c9799dda1f7a115906263b6b9
parent6841b2a0fccf930e80e0c7d7f1bd8d78d21cd0fa
staging: olpc_dcon: Replace a bit shift by a use of BIT.

This patch replaces bit shifting on 1 with the BIT(x) macro
as it's extensively used by other function in the file olpc_dcon.h .

Signed-off-by: Anchal Jain <anchalj109@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/olpc_dcon/olpc_dcon.h