From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1423317AbcFMOxJ (ORCPT ); Mon, 13 Jun 2016 10:53:09 -0400 Received: from mail-pa0-f65.google.com ([209.85.220.65]:36306 "EHLO mail-pa0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1161272AbcFMOxH (ORCPT ); Mon, 13 Jun 2016 10:53:07 -0400 Date: Mon, 13 Jun 2016 20:23:02 +0530 From: Amitoj Kaur Chawla To: linux@armlinux.org.uk, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: julia.lawall@lip6.fr Subject: [PATCH 0/2] ARM: pxa: ssp: Clean up probe and remove functions Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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