]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
reset: Fix {of,devm}_reset_control_array_get kerneldoc return types
authorGeert Uytterhoeven <geert+renesas@glider.be>
Wed, 20 Nov 2019 14:26:13 +0000 (15:26 +0100)
committerKhalid Elmously <khalid.elmously@canonical.com>
Fri, 14 Feb 2020 06:00:53 +0000 (01:00 -0500)
commit72ecfb284a02e36e3caba34281cc81c5c4c27bdc
treef44db5808d4342061d58bb7389a6883d86662d3d
parente430aabdf63c5f676591219d649d9696c122b4c7
reset: Fix {of,devm}_reset_control_array_get kerneldoc return types

BugLink: https://bugs.launchpad.net/bugs/1862429
commit 723c0011c7f6992f57e2c629fa9c89141acc115f upstream.

of_reset_control_array_get() and devm_reset_control_array_get() return
struct reset_control pointers, not internal struct reset_control_array
pointers, just like all other reset control API calls.

Correct the kerneldoc to match the code.

Fixes: 17c82e206d2a3cd8 ("reset: Add APIs to manage array of resets")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
drivers/reset/core.c