[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20250907122503.226b622a@jic23-huawei>
Date: Sun, 7 Sep 2025 12:25:03 +0100
From: Jonathan Cameron <jic23@...nel.org>
To: Christophe JAILLET <christophe.jaillet@...adoo.fr>
Cc: Marius Cristea <marius.cristea@...rochip.com>, David Lechner
<dlechner@...libre.com>, Nuno Sá <nuno.sa@...log.com>, Andy
Shevchenko <andy@...nel.org>, linux-kernel@...r.kernel.org,
kernel-janitors@...r.kernel.org, linux-iio@...r.kernel.org
Subject: Re: [PATCH] iio: adc: PAC1934: Use devm_mutex_init()
On Sun, 7 Sep 2025 12:04:48 +0200
Christophe JAILLET <christophe.jaillet@...adoo.fr> 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@...adoo.fr>
Applied. Thanks,
Powered by blists - more mailing lists