From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from fk-out-0910.google.com (fk-out-0910.google.com [209.85.128.188]) by ozlabs.org (Postfix) with ESMTP id 24FF1DDF73 for ; Wed, 3 Oct 2007 02:02:06 +1000 (EST) Received: by fk-out-0910.google.com with SMTP id z22so4686544fkz for ; Tue, 02 Oct 2007 09:02:05 -0700 (PDT) To: "Grant Likely" Subject: Re: [PATCH 11/18] Virtex: Port UARTLITE driver to of-platform-bus References: <20070928181421.18608.74224.stgit@trillian.cg.shawcable.net> <20070928181748.18608.62409.stgit@trillian.cg.shawcable.net> <87641p34dn.fsf@macbook.be.48ers.dk> From: Peter Korsgaard Date: Tue, 02 Oct 2007 18:01:57 +0200 In-Reply-To: (Grant Likely's message of "Tue\, 2 Oct 2007 09\:56\:28 -0600") Message-ID: <87tzp91p56.fsf@macbook.be.48ers.dk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: Peter Korsgaard Cc: linuxppc-dev@ozlabs.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , >>>>> "Grant" == Grant Likely writes: Hi, Grant> On 10/2/07, Peter Korsgaard wrote: >> >>>>> "Grant" == Grant Likely writes: Grant> + pr_debug("uartlite: calling platform_driver_register()\n"); Grant> + if ((ret = platform_driver_register(&ulite_platform_driver)) != 0) >> >> I prefer to not have assignments in the if (). Grant> Already fixed in v3 Ok, thanks. >> Are all the pr_debug necessary? It looks quite messy. Grant> Maybe messy, but *very* useful. Looks prettier in the v3 version with Grant> the assignment and if() on separate lines. Ok, I'll take a look (sorry, I'm behind on mails..) -- Bye, Peter Korsgaard