staging: rts5208: Refactor macros to static inline functions
authorSoumya Negi <soumya.negi97@gmail.com>
Thu, 12 Oct 2023 23:29:05 +0000 (16:29 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 15 Oct 2023 16:20:35 +0000 (18:20 +0200)
commit5b91f876f9e31c106177ee9341412d64e51f5ebf
treed5a4fb7e6f41309321326dafd5a7b6365ead524c
parent697455ce411075c37729fbdd1dff4052cf770800
staging: rts5208: Refactor macros to static inline functions

Driver rts5208 uses macros to read/write data & to perform generic PCI
functions. Rewrite these macros as static inline functions in the header
file.

Suggested-by: Dan Carpenter <dan.carpenter@linaro.org>
Suggested-by: Julia Lawall <julia.lawall@inria.fr>
Signed-off-by: Soumya Negi <soumya.negi97@gmail.com>
Link: https://lore.kernel.org/r/c7431fe4d7f72138d8dc86269794f87c30d21a38.1697152251.git.soumya.negi97@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rts5208/rtsx.h