[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ZXrsFD2l5S5BXEHH@rigel>
Date: Thu, 14 Dec 2023 19:50:44 +0800
From: Kent Gibson <warthog618@...il.com>
To: linux-kernel@...r.kernel.org, linux-gpio@...r.kernel.org,
brgl@...ev.pl, linus.walleij@...aro.org, andy@...nel.org
Subject: Re: [PATCH v2 1/5] gpiolib: cdev: adopt scoped_guard()
On Thu, Dec 14, 2023 at 05:58:10PM +0800, Kent Gibson wrote:
> Use scoped_guard for critical sections rather than distinct
> lock/unlock pairs.
>
It seems using guard() can further simplify cases where the scope extends
to the end of the function, so I'll replace those cases when I do v3.
Cheers,
Kent.
Powered by blists - more mailing lists