From: Herbert Xu <herbert@gondor.apana.org.au>
To: PrasannaKumar Muralidharan <prasannatsmkumar@gmail.com>
Cc: darren@stevens-zone.net, clabbe.montjoie@gmail.com,
linux-crypto@vger.kernel.org, mpm@selenic.com, olof@lixom.net,
linuxppc-dev@lists.ozlabs.org
Subject: Re: [PATCH v2] hwrng: pasemi_rng.c: Migrate to managed API
Date: Wed, 7 Sep 2016 21:22:10 +0800 [thread overview]
Message-ID: <20160907132210.GL17176@gondor.apana.org.au> (raw)
In-Reply-To: <1473012788-6262-1-git-send-email-prasannatsmkumar@gmail.com>
On Sun, Sep 04, 2016 at 11:43:08PM +0530, PrasannaKumar Muralidharan wrote:
> Use devm_ioremap and devm_hwrng_register instead of ioremap and
> hwrng_register. This removes unregistering and error handling code.
>
> Changes in v2:
> Remove hardcoded resource size in ioremap, use resource struct obtained
> by calling platform_get_resource.
>
> Removing hardcoded resource size was suggested by LABBE Corentin.
>
> CC: Darren Stevens <darren@stevens-zone.net>
>
> Suggested-by: LABBE Corentin <clabbe.montjoie@gmail.com>
> Signed-off-by: PrasannaKumar Muralidharan <prasannatsmkumar@gmail.com>
Patch applied. Thanks.
--
Email: Herbert Xu <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
prev parent reply other threads:[~2016-09-07 13:22 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-09-04 18:13 [PATCH v2] hwrng: pasemi_rng.c: Migrate to managed API PrasannaKumar Muralidharan
2016-09-07 13:22 ` Herbert Xu [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=20160907132210.GL17176@gondor.apana.org.au \
--to=herbert@gondor.apana.org.au \
--cc=clabbe.montjoie@gmail.com \
--cc=darren@stevens-zone.net \
--cc=linux-crypto@vger.kernel.org \
--cc=linuxppc-dev@lists.ozlabs.org \
--cc=mpm@selenic.com \
--cc=olof@lixom.net \
--cc=prasannatsmkumar@gmail.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox