[PATCH] memory: renesas-rpc-if: Simplify single/double data register access
Wolfram Sang
wsa+renesas at sang-engineering.com
Tue Apr 12 02:49:06 PDT 2022
> > > + regmap_write(rpc->regmap, RPCIF_SMWDR0, *p++);
> >
> > Last '++' can be omitted?
>
> I know. But I think it looks nicer this way ;-)
I have to admit it looks a little like "I copy&pasted without thinking"
to me :)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-mtd/attachments/20220412/afa7ec9b/attachment.sig>
More information about the linux-mtd
mailing list