From: Aishwarya R <aishwaryarj100@gmail.com>
To: alexandre.belloni@bootlin.com
Cc: Kate Stewart <kstewart@linuxfoundation.org>,
Kefeng Wang <wangkefeng.wang@huawei.com>,
Lars-Peter Clausen <lars@metafoo.de>,
linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org,
Stephen Boyd <swboyd@chromium.org>,
Ludovic Desroches <ludovic.desroches@microchip.com>,
linux-arm-kernel@lists.infradead.org,
Peter Meerwald-Stadler <pmeerw@pmeerw.net>,
Hartmut Knaack <knaack.h@gmx.de>,
Thomas Gleixner <tglx@linutronix.de>,
aishwaryarj100@gmail.com, Jonathan Cameron <jic23@kernel.org>
Subject: [PATCH] iio: adc: at91-adc: Use devm_platform_ioremap_resource
Date: Fri, 10 Apr 2020 15:13:09 +0530 [thread overview]
Message-ID: <20200410094324.4334-1-aishwaryarj100@gmail.com> (raw)
In-Reply-To: <20200409151125.32677-1-aishwaryarj100@gmail.com>
Use helper function to simply the code.
The devm_platform_ioremap_resource() helper in the
kernel which helps to make code cleaner a tad by
replacing few "boilerplate" lines of code with a single line.
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next prev parent reply other threads:[~2020-04-10 9:43 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-09 15:11 [PATCH] iio: adc: at91-adc: Use devm_platform_ioremap_resource Aishwarya R
2020-04-09 15:59 ` Alexandre Belloni
2020-04-10 10:55 ` Andy Shevchenko
2020-04-10 11:22 ` Alexandre Belloni
2020-04-10 16:37 ` Andy Shevchenko
2020-04-12 10:23 ` Jonathan Cameron
2020-04-10 9:43 ` Aishwarya R [this message]
2020-04-12 10:13 ` Jonathan Cameron
2020-04-12 13:56 ` Aishwarya R
2020-04-13 15:36 ` Jonathan Cameron
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=20200410094324.4334-1-aishwaryarj100@gmail.com \
--to=aishwaryarj100@gmail.com \
--cc=alexandre.belloni@bootlin.com \
--cc=jic23@kernel.org \
--cc=knaack.h@gmx.de \
--cc=kstewart@linuxfoundation.org \
--cc=lars@metafoo.de \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-iio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=ludovic.desroches@microchip.com \
--cc=pmeerw@pmeerw.net \
--cc=swboyd@chromium.org \
--cc=tglx@linutronix.de \
--cc=wangkefeng.wang@huawei.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;
as well as URLs for NNTP newsgroup(s).