linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/4] rtc: Use devm_ioremap_resource()
@ 2014-02-07  7:54 Jingoo Han
  2014-02-07  7:55 ` [PATCH 1/4] rtc: rtc-coh901331: " Jingoo Han
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Jingoo Han @ 2014-02-07  7:54 UTC (permalink / raw)
  To: 'Andrew Morton'
  Cc: linux-kernel, 'Alessandro Zummo', rtc-linux,
	'Jingoo Han'

Use devm_ioremap_resource() in order to make the code simpler,
because devm_ioremap_resource() includes devm_request_mem_region()
and devm_ioremap(). Also, it checks the return value of
platform_get_resource().

Jingoo Han (4):
      rtc: rtc-coh901331: Use devm_ioremap_resource()
      rtc: rtc-davinci: Use devm_ioremap_resource()
      rtc: rtc-jz4740: Use devm_ioremap_resource()
      rtc: rtc-vt8500: Use devm_ioremap_resource()

---
 drivers/rtc/rtc-coh901331.c |   18 +++---------------
 drivers/rtc/rtc-davinci.c   |   29 ++++-------------------------
 drivers/rtc/rtc-jz4740.c    |   24 +++++++-----------------
 drivers/rtc/rtc-vt8500.c    |   28 +++++-----------------------
 4 files changed, 19 insertions(+), 80 deletions(-)


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2014-02-10  9:26 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-07  7:54 [PATCH 0/4] rtc: Use devm_ioremap_resource() Jingoo Han
2014-02-07  7:55 ` [PATCH 1/4] rtc: rtc-coh901331: " Jingoo Han
2014-02-10  9:26   ` [rtc-linux] " Linus Walleij
2014-02-07  7:57 ` [PATCH 2/4] rtc: rtc-davinci: " Jingoo Han
2014-02-07  7:58 ` [PATCH 3/4] rtc: rtc-jz4740: " Jingoo Han
2014-02-07  8:13   ` Lars-Peter Clausen
2014-02-07  8:31     ` Jingoo Han
2014-02-07  8:49       ` Lars-Peter Clausen
2014-02-07  7:59 ` [PATCH 4/4] rtc: rtc-vt8500: " Jingoo Han

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).