Renesas ARM Based SoC Updates for v5.2

* Power Management
  - Fix a leaked reference by adding missing of_node_put

* R-Car M2-W (R8A77910) based Porter board
  - Enable regulator quirk
-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEE4nzZofWswv9L/nKF189kaWo3T74FAly5178ACgkQ189kaWo3
T769YA//SVefsl6hXo1QOfvgXo0L7URBz+wIziF7v2pPtCjdy68WNpThB0pHmpdF
VjEzjRN8Xi6b+7BIj9yhCDbeJhrDiKUK92GEhdOJHE59lFWq0WhQfybW9vwAErAc
UZ+Yy7gUkbQazkyDV3BLlnvCvH7YYtiaeNmy7N6qyZskyMsKossGFE2PEaBT10v0
TaRldwVEoApELrq4xLV3rDYarzzNBCLCM1C3dx5PdTtd5lsSL/nCXOTF7+frZKUS
13KQO2EVifGL30mb2rnHRxiMFUZMG0DnDnEivzMbOd50jw62lrsoinxrBv/c2pAY
FbpL1ConhrYI7IEo93oPvxLbFbZq/mKTGvoES74ccJECj39wj0041hLKwlOo2bKZ
Lm1ElkkLGFq2BkDog0YU+SUKgCsVGxgvXKiyTzcgaRlD70ea0QoyUeZOvsPrT4m6
T+F4LdGZGk7b+1h1KCNuFJ7Hm0qJV+OLnqJp6EhJHj+gwZytzqlTajWs5FL4+z23
MO0piTlBzJ2Fwn5+L07b/yWGM8uxWguG1w6I0U/0dYY2RZTMbSGHVAvWfNf7pUuP
wPl8pIGP0QO+nlWB75MyyoE27ATHtv3YOl/AAWzxcpB6hB7T57INvOHI5g3deXW/
6xN3ySQgrKPkH3+dNpu9TvjXc4W46MIaIEtVMbJqh7Kd6ZNMzzE=
=jjre
-----END PGP SIGNATURE-----
ARM: shmobile: fix a leaked reference by adding missing of_node_put

The call to of_get_next_child returns a node pointer with refcount
incremented thus it must be explicitly decremented after the last
usage.

Detected by coccinelle with the following warnings:
./arch/arm/mach-shmobile/pm-rcar-gen2.c:77:2-8: ERROR: missing of_node_put; acquired a node pointer with refcount incremented on line 66, but without a corresponding object release within this function.
./arch/arm/mach-shmobile/pm-rcar-gen2.c:85:2-8: ERROR: missing of_node_put; acquired a node pointer with refcount incremented on line 66, but without a corresponding object release within this function.
./arch/arm/mach-shmobile/pm-rcar-gen2.c:90:2-8: ERROR: missing of_node_put; acquired a node pointer with refcount incremented on line 66, but without a corresponding object release within this function.

Signed-off-by: Wen Yang <wen.yang99@zte.com.cn>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
1 file changed