Thread (3 messages) 3 messages, 3 authors, 2025-09-09

Re: [PATCH] power: supply: Use devm_mutex_init()

From: Sebastian Reichel <hidden>
Date: 2025-09-09 00:19:46
Also in: kernel-janitors, linux-mediatek, linux-pm, lkml

On Mon, 08 Sep 2025 21:35:28 +0200, Christophe JAILLET wrote:
Use devm_mutex_init() instead of hand-writing it.

This saves some LoC, improves readability and saves some space in the
generated .o file.

As an example:
Before:
======
   text	   data	    bss	    dec	    hex	filename
  35803	   9352	    384	  45539	   b1e3	drivers/power/supply/rt9467-charger.o

[...]
Applied, thanks!

[1/1] power: supply: Use devm_mutex_init()
      commit: 7d715345a86941b9e6c8e520b40078692baed4a4

Best regards,
-- 
Sebastian Reichel [off-list ref]

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help