public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] ARM: pxa: ssp: Clean up probe and remove functions
@ 2016-06-13 14:53 Amitoj Kaur Chawla
  2016-06-13 14:53 ` [PATCH 1/2] ARM: pxa: ssp: Drop unnecessary freeing functions Amitoj Kaur Chawla
  2016-06-13 14:53 ` [PATCH 2/2] ARM: pxa: ssp: Switch to devm_ioremap_resource Amitoj Kaur Chawla
  0 siblings, 2 replies; 3+ messages in thread
From: Amitoj Kaur Chawla @ 2016-06-13 14:53 UTC (permalink / raw)
  To: linux, linux-arm-kernel, linux-kernel; +Cc: julia.lawall

Address some issues related to devm_ functions.

The first patch cleans up the remove function of this driver of
unnecessary freeing functions: kfree, iounmap, clk_put and
release_mem_region since devm_ allocated data does not need to 
be freed.

The second patch replaces devm_request_mem_region and devm_ioremap with
devm_ioremap_resource.

Amitoj Kaur Chawla (2):
  ARM: pxa: ssp: Drop unnecessary freeing functions
  ARM: pxa: ssp: Switch to devm_ioremap_resource

 arch/arm/plat-pxa/ssp.c | 29 +++--------------------------
 1 file changed, 3 insertions(+), 26 deletions(-)

-- 
1.9.1

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

end of thread, other threads:[~2016-06-13 14:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-13 14:53 [PATCH 0/2] ARM: pxa: ssp: Clean up probe and remove functions Amitoj Kaur Chawla
2016-06-13 14:53 ` [PATCH 1/2] ARM: pxa: ssp: Drop unnecessary freeing functions Amitoj Kaur Chawla
2016-06-13 14:53 ` [PATCH 2/2] ARM: pxa: ssp: Switch to devm_ioremap_resource Amitoj Kaur Chawla

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox