Tag: 8ee775f92c8af2eb1626d39f06feac04fe0cb6e0

staging: rts5208: Remove RTSX_READ_REG and RTSX_WRITE_REG macros

Author: Joe Perches <joe@perches.com> Macros with hidden flow control are bad form as the code path taken can be unexpected for the reader. Expand these in-place and remove the macros. Done with coccinelle script: @@ expression chip; expression arg1; expression arg2; expression arg3; @@ – RTSX_WRITE_REG(chip, arg1, arg2, arg3); + retval = rtsx_write_register(chip, arg1, arg2, …

Continue reading