[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20130114121816.GZ23505@n2100.arm.linux.org.uk>
Date: Mon, 14 Jan 2013 12:18:16 +0000
From: Russell King - ARM Linux <linux@....linux.org.uk>
To: Roger Quadros <rogerq@...com>
Cc: balbi@...com, sameo@...ux.intel.com, tony@...mide.com,
gregkh@...uxfoundation.org, linux-usb@...r.kernel.org,
linux-kernel@...r.kernel.org, kishon@...com,
linux-arm-kernel@...ts.infradead.org
Subject: Re: [PATCH 04/14] usb: phy: nop: Handle power supply regulator for
the PHY
On Mon, Jan 14, 2013 at 01:51:07PM +0200, Roger Quadros wrote:
> On 01/14/2013 01:25 PM, Russell King - ARM Linux wrote:
> > Also consider... is dev_err() appropriate for an "error", for which you
> > print a message and continue as if nothing went wrong. To me that sounds
> > more like a warning than an error, so maybe dev_warn() would be more
> > appropriate?
> >
> I used dev_dbg(), because we don't treat not getting the power supply
> regulator as that serious.
This comment is about what you do when regulator_enable() and the like
returns non-zero.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists