[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CACRpkdZd6mvOfPa1Z12TZow6NustU0hAFpaJLZt-d0QVn1G5fQ@mail.gmail.com>
Date: Fri, 8 Mar 2019 14:16:32 +0100
From: Linus Walleij <linus.walleij@...aro.org>
To: Axel Lin <axel.lin@...ics.com>
Cc: Mark Brown <broonie@...nel.org>,
Liam Girdwood <lgirdwood@...il.com>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] regulator: ab3100: Remove ab3100_regulators_remove function
On Thu, Mar 7, 2019 at 2:54 PM Axel Lin <axel.lin@...ics.com> wrote:
> Current code is using devm_regulator_register() so it is not necessary
> to save reg->rdev for clean up. Remove *rdev from struct ab3100_regulator,
> then ab3100_regulators_remove() can be removed as well.
>
> Signed-off-by: Axel Lin <axel.lin@...ics.com>
Reviewed-by: Linus Walleij <linus.walleij@...aro.org>
Yours,
Linus Walleij
Powered by blists - more mailing lists