Re: [PATCH v4 12/15] rtc: rzn1: use FIELD_PREP/FIELD_GET and GENMASK for register access

Wolfram Sang <[email protected]>
Newsgroups dev.linux.lists.sashiko-reviews,org.kernel.vger.linux-devicetree,org.kernel.vger.linux-rtc
Message-ID <aoWq7VdKlAl_jGQQ@shikoro>
> Would it make sense to wrap this value with FIELD_PREP() to enforce the
> compile-time checks and stay consistent with the rest of the patch?

I don't care, you decide.
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEEOZGx6rniZ1Gk92RdFA3kzBSgKbYFAmqFqu0ACgkQFA3kzBSg
KbYvNBAAij/txVALS6HMLJAZHs13t3Pmzs6Psr1E5mwiYpS8Qhx/iO2u+LQSo2kb
vYynQmnYrFZNwa7w8OEP3g3BMAoXKDP5/bmU7y0bMEgxDoQ9vPgieJaxprMTQ5hT
BafV0JZk+YxMbDb04CN6ioTYrQ7uDQenW+OLS3Lfmh4O+TF615sPOB4p7vadbXdv
uOfw1nX/VqRTI9uQ/uTeXdNPQ7IdtUSD15NyfaDezawjSj98VXVeKkT1SeaLvgBM
67Va8LO0W6dcIu65h/6FGz23b+7C5ncuxrH4xQCKaDwzlICxgLkjVSw836fPqnQ+
XC8qICRy1uAJEPCeIKaZtm+lx2n38RtEL1GzYlQ7zimGfyRa+RybB82LdsWMqf+K
AQhpnsYv847/FJshoHVCw/4HiZ6mZG8vpY1nLKt0vULccr1aJl4+17Mj2tttDUH1
/TTk4l4G0Qu6+bmDtTIvfgZp3YXTpjZR08FHtPuBm6sFYNDml+9zuhIxtns/zd6x
F4/F0iwf1WTkm50G1EaFXxdrW8Pye36E5qvaB6SSOsi83qa67HM/TjyHiBInjzel
1RqpJyt3ZfBx2Xicw1Oof7NPieC0lImT3hNLmnV7sOl0HbkkDXQ7EkfSyiLAtbLC
+3UQ3PGATuB4fbEjMD4bzwmWL6Q+IQB2W4EyN38sbxY2frFJp0M=
=NkSE
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.