staging: rtl8723bs: do not use __constant_cpu_to_le16
authorSergey Senozhatsky <sergey.senozhatsky@gmail.com>
Mon, 18 Mar 2019 11:22:21 +0000 (20:22 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 19 Mar 2019 13:31:39 +0000 (14:31 +0100)
commit403fa6deca578f2eabc59d54dd58d1802fe04c9a
treee79bdb651dddee1dc8bad9c2c27055bc205ac558
parent7d6009f2821270831ffc6c29b3bf58891e3583d7
staging: rtl8723bs: do not use __constant_cpu_to_le16

cpu_to_le16() is capable enough to detect __builtin_constant_p()
and to use an appropriate compile time ___constant_swahbXX()
function.

So we can use cpu_to_le16() instead of __constant_cpu_to_le16().

Signed-off-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/include/wifi.h