All of lore.kernel.org
 help / color / mirror / Atom feed
From: Linus Walleij <linus.walleij@linaro.org>
To: Axel Lin <axel.lin@ingics.com>
Cc: Mark Brown <broonie@kernel.org>,
	Liam Girdwood <lgirdwood@gmail.com>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] regulator: ab3100: Remove ab3100_regulators_remove function
Date: Fri, 8 Mar 2019 14:16:32 +0100	[thread overview]
Message-ID: <CACRpkdZd6mvOfPa1Z12TZow6NustU0hAFpaJLZt-d0QVn1G5fQ@mail.gmail.com> (raw)
In-Reply-To: <20190307135356.15736-1-axel.lin@ingics.com>

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

      reply	other threads:[~2019-03-08 13:16 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-03-07 13:53 [PATCH] regulator: ab3100: Remove ab3100_regulators_remove function Axel Lin
2019-03-08 13:16 ` Linus Walleij [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CACRpkdZd6mvOfPa1Z12TZow6NustU0hAFpaJLZt-d0QVn1G5fQ@mail.gmail.com \
    --to=linus.walleij@linaro.org \
    --cc=axel.lin@ingics.com \
    --cc=broonie@kernel.org \
    --cc=lgirdwood@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.