Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751255AbaGFJdX (ORCPT ); Sun, 6 Jul 2014 05:33:23 -0400 Received: from mail-vc0-f182.google.com ([209.85.220.182]:57800 "EHLO mail-vc0-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750736AbaGFJdV (ORCPT ); Sun, 6 Jul 2014 05:33:21 -0400 MIME-Version: 1.0 In-Reply-To: <1404467529-26301-1-git-send-email-tushar.b@samsung.com> References: <1404467529-26301-1-git-send-email-tushar.b@samsung.com> From: Alexandre Courbot Date: Sun, 6 Jul 2014 18:33:01 +0900 Message-ID: Subject: Re: [PATCH] gpiolib: of: Update debug messages for of_get_named_gpiod_flags To: Tushar Behera Cc: Linux Kernel Mailing List , "linux-gpio@vger.kernel.org" , Linus Walleij , trblinux@gmail.com Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jul 4, 2014 at 6:52 PM, Tushar Behera wrote: > Following is the debug output (only a few examples) before and after the patch. > > $ dmesg | grep of_get_named_gpiod_flags > > Before: > of_get_named_gpiod_flags: can't parse gpios property of node '/mmc@12220000[0]' > of_get_named_gpiod_flags exited with status 0 > > After: > of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/mmc@12220000[0]' > of_get_named_gpiod_flags: parsed 'gpios' property of node '/gpio-keys/power[0]' - status (0) > > Signed-off-by: Tushar Behera More meaningful debug messages are always a good thing. Reviewed-by: Alexandre Courbot -- 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/