ptp: fix code indentation issues
Subsystems (3)
PATCH 1/1 ptp: fix code indentation issues
This fixes the following checkpatch.pl errors:
ERROR: code indent should use tabs where possible
+^I if (ptp->pps_source)$
ERROR: code indent should use tabs where possible
+^I pps_unregister_source(ptp->pps_source);$
ERROR: code indent should use tabs where possible
+^I kthread_destroy_worker(ptp->kworker);$
--- drivers/ptp/ptp_clock.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
drivers/ptp/ptp_clock.c +3 -3
@@ -284,11 +284,11 @@ struct ptp_clock *ptp_clock_register(struct ptp_clock_info *info,/* Create a posix clock and link it to the device. */ err =posix_clock_register (&ptp->clock, &ptp->dev);if (err) { -if (ptp->pps_source) -pps_unregister_source (ptp->pps_source); +if (ptp->pps_source) +pps_unregister_source (ptp->pps_source);if (ptp->kworker) -kthread_destroy_worker (ptp->kworker); +kthread_destroy_worker (ptp->kworker);put_device (&ptp->dev);
Signature · 1 line
2.33.0.1079.g6e70778dc9-goog
This patch was applied to netdev/net-next.git (master) by David S. Miller <[email protected]>:
Hello:
This patch was applied to netdev/net-next.git (master) by David S. Miller <[email protected]>:
Quoted 9 lines · On Wed, 27 Oct 2021 23:18:02 +0000 you wrote:
This fixes the following checkpatch.pl errors:
ERROR: code indent should use tabs where possible
+^I if (ptp->pps_source)$ERROR: code indent should use tabs where possible
+^I pps_unregister_source(ptp->pps_source);$[...]
Here is the summary with links:
- [net] ptp: fix code indentation issues
https://git.kernel.org/netdev/net-next/c/11195bf5a355
You are awesome, thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html