Skip to content

ARM: pxa: ssp: Clean up probe and remove functions

Amitoj Kaur Chawla linux-arm-kernel lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2ARM: pxa: ssp: Drop unnecessary freeing functionsarch/arm/plat-pxa/ssp.c+0 -90 replies
2/2ARM: pxa: ssp: Switch to devm_ioremap_resourcearch/arm/plat-pxa/ssp.c+3 -170 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] ARM: pxa: ssp: Clean up probe and remove functions

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(-)
Signature · 1 line
1.9.1