]> git.baikalelectronics.ru Git - kernel.git/commit
platform/x86: wmi: use BIT() macro
authorBarnabás Pőcze <pobrn@protonmail.com>
Sat, 4 Sep 2021 17:55:29 +0000 (17:55 +0000)
committerHans de Goede <hdegoede@redhat.com>
Tue, 14 Sep 2021 10:26:01 +0000 (12:26 +0200)
commite94308ffc265a9e7ea3c757ea307f40e6fc7bcdc
tree6fc9f1fa24ff3ce58c7eeea3ff115b21af4b0950
parent73ca46e4fc60a3971bd64f95c3bf09e0f4125866
platform/x86: wmi: use BIT() macro

Instead of manually creating the bit masks,
use the `BIT()` macro to do it.

Signed-off-by: Barnabás Pőcze <pobrn@protonmail.com>
Link: https://lore.kernel.org/r/20210904175450.156801-12-pobrn@protonmail.com
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
drivers/platform/x86/wmi.c