[PATCH RFC v2 03/11] tty: xuartps: Refactor read-modify-writes

2014-03-07 Thread Soren Brinkmann
A lot of read-modify-write sequences used a one-line statement which nests a readl() within a writel(). Convert this into code sequences that make the three steps more obvious. Signed-off-by: Soren Brinkmann --- drivers/tty/serial/xilinx_uartps.c | 52 ++ 1

[PATCH RFC v2 03/11] tty: xuartps: Refactor read-modify-writes

2014-03-07 Thread Soren Brinkmann
A lot of read-modify-write sequences used a one-line statement which nests a readl() within a writel(). Convert this into code sequences that make the three steps more obvious. Signed-off-by: Soren Brinkmann soren.brinkm...@xilinx.com --- drivers/tty/serial/xilinx_uartps.c | 52