]> www.infradead.org Git - linux-platform-drivers-x86.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)
commit1c95ace78b6e8e8c88fdcc1b5d6dc6a186914e25
tree6fc9f1fa24ff3ce58c7eeea3ff115b21af4b0950
parent1ebe62bec4120fd79967edbe990f2eea285a6e80
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