🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: linux.kernel.netdev
1 messages
1 total messages Started by Linus Walleij Tue, 01 Dec 2026 18:53
Re: [PATCH net-next v2] net: ethernet: cortina: Use devm_clk_get_enabled() in gemini_ethernet_port_probe()
#25417
Author: Linus Walleij
Date: Tue, 01 Dec 2026 18:53
27 lines
9965 bytes
Hi Markus,

whoa! Your patches are improving and much more
interesting!

On Sun, Nov 29, 2026 at 10:34 AM Markus Elfring <Markus.Elfring@web.de> wrote:

> From: Markus Elfring <elfring@users.sourceforge.net>
> Date: Sun, 29 Nov 2026 09:42:18 +0100
>
> Replace the combination of devm_clk_get() and clk_prepare_enable()
> by a devm_clk_get_enabled() call.
> Delete a clk_disable_unprepare() call on an error handling path
> and in the implementation of the function “gemini_port_remove”.
> Drop the label “unprepare”.
>
> This issue was detected by using the Coccinelle software.
>
> Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>

Reviewed-by: Linus Walleij <linusw@kernel.org>

Yours,
Linus Walleij
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads