]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ptp: Split out PTP_ENABLE_PPS ioctl code
authorThomas Gleixner <tglx@linutronix.de>
Wed, 25 Jun 2025 11:52:28 +0000 (13:52 +0200)
committerJakub Kicinski <kuba@kernel.org>
Fri, 27 Jun 2025 00:54:04 +0000 (17:54 -0700)
commit47aaa73d25ea58397d003cc5b4b95fdb730f853d
tree2ccd0739b7ccfe76e2cb788e92d93d049e6f97c4
parent3afc2caceaf7076c75011d2584d3186556359cae
ptp: Split out PTP_ENABLE_PPS ioctl code

Continue the ptp_ioctl() cleanup by splitting out the PTP_ENABLE_PPS
ioctl code into a helper function. Convert to a lock guard while at it.

No functional change intended.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Vadim Fedorenko <vadim.fedorenko@linux.dev>
Link: https://patch.msgid.link/20250625115132.923803136@linutronix.de
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/ptp/ptp_chardev.c