Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752705Ab3E1Scf (ORCPT ); Tue, 28 May 2013 14:32:35 -0400 Received: from mail-vc0-f170.google.com ([209.85.220.170]:40123 "EHLO mail-vc0-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751650Ab3E1Sce (ORCPT ); Tue, 28 May 2013 14:32:34 -0400 MIME-Version: 1.0 In-Reply-To: <1368473874-9569-1-git-send-email-laurent.navet@gmail.com> References: <1368473874-9569-1-git-send-email-laurent.navet@gmail.com> Date: Tue, 28 May 2013 15:32:33 -0300 Message-ID: Subject: Re: [PATCH] net: ethernet: freescale: use devm_ioremap_resource() From: Fabio Estevam To: Laurent Navet Cc: davem@davemloft.net, Frank.Li@freescale.com, fabio.estevam@freescale.com, shawn.guo@linaro.org, joe@perches.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 805 Lines: 22 Hi Laurent, On Mon, May 13, 2013 at 4:37 PM, Laurent Navet wrote: > Replace a call to deprecated devm_request_and_ioremap by devm_ioremap_resource. > also remove tests on 'r' since devm_ioremap_resource() checks for it > in a better way. > > Found with coccicheck and this semantic patch: > scripts/coccinelle/api/devm_ioremap_resource.cocci > > Signed-off-by: Laurent Navet I was about to do the same change, then I saw your patch :-) Looks good: Tested-by: Fabio Estevam -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/