Re: [PATCH] regualtor: core: Make error messages more informative

From: Mark Brown
Date: Wed Sep 16 2015 - 06:14:50 EST


On Tue, Sep 15, 2015 at 12:09:16PM -0700, Stephen Boyd wrote:

> Unfortunately, seeing this in the dmesg is not very informative.
> Add what type of operation is not allowed to the message so that
> these errors are unique, hopefully pointing developers in the
> right direction

> <rdev>: operation (drms) not allowed
> <rdev>: operation (voltage) not allowed
> <rdev>: operation (current) not allowed
> <rdev>: operation (mode) not allowed

Structure (normal) for text readable (human) message please. :)

Attachment: signature.asc
Description: Digital signature