[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAJKOXPeM18c3a2nWeGGGw+Fn-GQ2C0ridwE3eqRsd1gVQ6zB5w@mail.gmail.com>
Date: Fri, 2 Nov 2018 09:19:10 +0100
From: Krzysztof Kozlowski <krzk@...nel.org>
To: matti.vaittinen@...rohmeurope.com
Cc: corbet@....net, mturquette@...libre.com, sboyd@...nel.org,
Chanwoo Choi <cw00.choi@...sung.com>,
Bartłomiej Żołnierkiewicz
<b.zolnierkie@...sung.com>, linux@...linux.org.uk,
andy.gross@...aro.org, david.brown@...aro.org, kgene@...nel.org,
s.nawrocki@...sung.com, Tomasz Figa <tomasz.figa@...il.com>,
andrew.smirnov@...il.com, sre@...nel.org, linux@...ck-us.net,
robh@...nel.org, sjhuang@...vatar.ai, Akshu.Agrawal@....com,
rafael.j.wysocki@...el.com, djkurtz@...omium.org,
mazziesaccount@...il.com, linux-doc@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-clk@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org,
linux-arm-msm@...r.kernel.org, linux-soc@...r.kernel.org,
"linux-samsung-soc@...r.kernel.org"
<linux-samsung-soc@...r.kernel.org>
Subject: Re: [PATCH v2 3/8] clk: clk-s3c2410-dclk: clean up clkdev lookup leak
On Thu, 1 Nov 2018 at 08:19, Matti Vaittinen
<matti.vaittinen@...rohmeurope.com> wrote:
>
> Use devm variant of clkdev lookup registration in order to avoid
> clkdev lookup leak at device remove.
>
> Signed-off-by: Matti Vaittinen <matti.vaittinen@...rohmeurope.com>
> ---
> drivers/clk/samsung/clk-s3c2410-dclk.c | 15 ++++++++-------
> 1 file changed, 8 insertions(+), 7 deletions(-)
Driver has suppress_bind_attrs and it cannot be built as module so
device removal should not be possible. There is no need to use devm.
Best regards,
Krzysztof
Powered by blists - more mailing lists