Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752417AbbKPPne (ORCPT ); Mon, 16 Nov 2015 10:43:34 -0500 Received: from iolanthe.rowland.org ([192.131.102.54]:36106 "HELO iolanthe.rowland.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1751636AbbKPPnd (ORCPT ); Mon, 16 Nov 2015 10:43:33 -0500 Date: Mon, 16 Nov 2015 10:43:32 -0500 (EST) From: Alan Stern X-X-Sender: stern@iolanthe.rowland.org To: Saurabh Sengar cc: sergei.shtylyov@cogentembedded.com, , , Subject: Re: [PATCH v2] usb: host: ohci-pxa27x: use of_property_read_bool() In-Reply-To: <1447678113-31877-1-git-send-email-saurabh.truth@gmail.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 566 Lines: 16 On Mon, 16 Nov 2015, Saurabh Sengar wrote: > for checking if a property is present or not, > of_property_read_bool is more appropriate than of_get_property() > > Signed-off-by: Saurabh Sengar > --- > v2 : replaced then to than in description Acked-by: Alan Stern -- 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/