lkml.org 
[lkml]   [2019]   [Mar]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH] regulator: ab3100: Remove ab3100_regulators_remove function
On Thu, Mar 7, 2019 at 2:54 PM Axel Lin <axel.lin@ingics.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@ingics.com>

Reviewed-by: Linus Walleij <linus.walleij@linaro.org>

Yours,
Linus Walleij

\
 
 \ /
  Last update: 2019-03-08 14:17    [W:0.033 / U:2.424 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site