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

Amitoj Kaur Chawla amitoj1606 at gmail.com
Mon Jun 13 07:53:02 PDT 2016

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

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


More information about the linux-arm-kernel mailing list