aboutsummaryrefslogtreecommitdiff
path: root/net/unix/sysctl_net_unix.c
diff options
context:
space:
mode:
authorUwe Kleine-König <[email protected]>2023-09-29 18:19:11 +0200
committerThierry Reding <[email protected]>2023-10-13 10:07:18 +0200
commit92fcd5b682e410cd136d6ad4c26884487a35a7cd (patch)
tree1a8d741536f3042abfd9c872be1f0a58c9428c59 /net/unix/sysctl_net_unix.c
parent5af615f8ace2b027c582ea62c55b46d71e5287ad (diff)
pwm: imx-tpm: Simplify using devm functions
With devm_clk_get_enabled() the call to clk_disable_unprepare() can be dropped from the error path and the remove callback. With devm_pwmchip_add() pwmchip_remove() can be dropped. Then the remove callback is empty and can go away, too. Also use dev_err_probe() for simplified (and improved) error reporting. Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Uwe Kleine-König <[email protected]> Signed-off-by: Thierry Reding <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions