[PATCH V3 06/10] net: dsa: microchip: Factor out register access opcode generation

2019-06-23 Thread Marek Vasut
Factor out the code which sends out the register read/write opcodes to the switch, since the code differs in single bit between read and write. Signed-off-by: Marek Vasut Cc: Andrew Lunn Cc: Florian Fainelli Cc: Tristram Ha Cc: Woojung Huh --- V2: New patch V3: - Rebase on next/master - T

Re: [PATCH V3 06/10] net: dsa: microchip: Factor out register access opcode generation

2019-06-23 Thread Andrew Lunn
On Mon, Jun 24, 2019 at 12:35:04AM +0200, Marek Vasut wrote: > Factor out the code which sends out the register read/write opcodes > to the switch, since the code differs in single bit between read and > write. > > Signed-off-by: Marek Vasut Reviewed-by: Andrew Lunn Andrew