Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752544AbaBJJ0H (ORCPT ); Mon, 10 Feb 2014 04:26:07 -0500 Received: from mail-oa0-f46.google.com ([209.85.219.46]:63088 "EHLO mail-oa0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751123AbaBJJ0D (ORCPT ); Mon, 10 Feb 2014 04:26:03 -0500 MIME-Version: 1.0 In-Reply-To: <000501cf23d9$f0057a80$d0106f80$%han@samsung.com> References: <000401cf23d9$d1df6e30$759e4a90$%han@samsung.com> <000501cf23d9$f0057a80$d0106f80$%han@samsung.com> Date: Mon, 10 Feb 2014 10:26:03 +0100 Message-ID: Subject: Re: [rtc-linux] [PATCH 1/4] rtc: rtc-coh901331: Use devm_ioremap_resource() From: Linus Walleij To: "rtc-linux@googlegroups.com" Cc: Andrew Morton , "linux-kernel@vger.kernel.org" , Alessandro Zummo , Jingoo Han Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Feb 7, 2014 at 8:55 AM, Jingoo Han wrote: > Use devm_ioremap_resource() in order to make the code simpler, > and remove redundant return value check of platform_get_resource() > because the value is checked by devm_ioremap_resource(). > > Signed-off-by: Jingoo Han Acked-by: Linus Walleij Yours, Linus Walleij -- 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/