[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20220822201419.20149725@jic23-huawei>
Date: Mon, 22 Aug 2022 20:14:40 +0100
From: Jonathan Cameron <jic23@...nel.org>
To: "Vaittinen, Matti" <Matti.Vaittinen@...rohmeurope.com>
Cc: Andy Shevchenko <andy.shevchenko@...il.com>,
Matti Vaittinen <mazziesaccount@...il.com>,
Nuno Sá <nuno.sa@...log.com>,
Lars-Peter Clausen <lars@...afoo.de>,
linux-iio <linux-iio@...r.kernel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v3 07/14] iio: ltc2688: Simplify using
devm_regulator_*get_enable()
Interesting to see the different mental models used when reading code.
Overall I'm fine with either static within function or static outside
function depending on author preference + for short cases like this
I'm also fine with them on the stack.
Obviously can only speak for what I'll take into IIO!
Jonathan
Powered by blists - more mailing lists