Messages in this thread | | | Date | Tue, 7 Aug 2012 19:16:42 +0100 | From | Mark Brown <> | Subject | Re: [PATCH RFC] regulator: suppress printk if there is no real info |
| |
On Tue, Aug 07, 2012 at 08:15:49PM +0200, Uwe Kleine-König wrote: > On Tue, Aug 07, 2012 at 07:10:22PM +0100, Mark Brown wrote:
> > > if (!buf[0]) > > > buf = "no parameters";
> > Yeah, having the log message for other regulators is helpful since > > things often go boom after you mess with power but not so useful for > > dummy.
> That's a +1 for which approach?
The above one which preserves the log message. -- 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/
| |