Re: [PATCH 5/6] spi: sun4i: introduce register set/unset helpers

From: Sergey Suloev
Date: Tue Apr 03 2018 - 06:28:11 EST


On 04/03/2018 11:14 AM, Maxime Ripard wrote:
On Thu, Mar 29, 2018 at 09:59:06PM +0300, Sergey Suloev wrote:
Two helper functions were added in order to update
registers easily.

Signed-off-by: Sergey Suloev <ssuloev@xxxxxxxxxxxxx>
I'm not really sure what's easier about this one.

Maxime



_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

well, just seems more readable vs doing "read, or, write" every time