Re: [PATCH] iio: adc: PAC1934: Use devm_mutex_init()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun,  7 Sep 2025 12:04:48 +0200
Christophe JAILLET <christophe.jaillet@xxxxxxxxxx> 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.
> 
> Before:
> ======
>    text	   data	    bss	    dec	    hex	filename
>   50985	  23992	    192	  75169	  125a1	drivers/iio/adc/pac1934.o
> 
> After:
> =====
>    text	   data	    bss	    dec	    hex	filename
>   50654	  23920	    192	  74766	  1240e	drivers/iio/adc/pac1934.o
> 
> Signed-off-by: Christophe JAILLET <christophe.jaillet@xxxxxxxxxx>
Applied. Thanks,




[Index of Archives]     [Kernel Development]     [Kernel Announce]     [Kernel Newbies]     [Linux Networking Development]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Device Mapper]

  Powered by Linux