Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752585Ab2FROi4 (ORCPT ); Mon, 18 Jun 2012 10:38:56 -0400 Received: from mail-qc0-f174.google.com ([209.85.216.174]:36146 "EHLO mail-qc0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751220Ab2FROiz (ORCPT ); Mon, 18 Jun 2012 10:38:55 -0400 MIME-Version: 1.0 In-Reply-To: References: Date: Mon, 18 Jun 2012 16:38:54 +0200 Message-ID: Subject: Re: Q: return of pinctrl_register and handing at drivers that use this function From: Linus Walleij To: "devendra.aaru" Cc: Stephen Warren , linux-kernel@vger.kernel.org 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 Content-Length: 606 Lines: 20 On Mon, Jun 18, 2012 at 2:04 PM, devendra.aaru wrote: > So checking the return value of pinctrl_register with IS_ERR is not required. Nope. > There are drivers in pinctrl subsystem which uses the IS_ERR and may (not) > check whether its null or not. > > you can expect a patchset of those fixes. :) Good :-) Thanks, 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/