]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ptp: describe the two disables in ptp_set_pinfunc()
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
Tue, 16 Sep 2025 21:35:58 +0000 (22:35 +0100)
committerJakub Kicinski <kuba@kernel.org>
Wed, 17 Sep 2025 22:04:09 +0000 (15:04 -0700)
commit0fcb1dc3e8044a20f584c3dbdf01ce6d2234ca4c
treea12e677b8a2f898da8718027c6695f9fa2d4a91c
parentdfc85640796b414385e50c932eb2b8ce4d38ce72
ptp: describe the two disables in ptp_set_pinfunc()

Accurately describe what each call to ptp_disable_pinfunc() is doing,
rather than the misleading comment above the first disable. This helps
to make the code more readable.

Reviewed-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Reviewed-by: Vadim Fedorenko <vadim.fedorenko@linux.dev>
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Acked-by: Richard Cochran <richardcochran@gmail.com>
Link: https://patch.msgid.link/E1uydLC-000000061DG-2BRt@rmk-PC.armlinux.org.uk
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/ptp/ptp_chardev.c