• S
    regulator: core: Make error messages more informative · 7ebcf26c
    Stephen Boyd 提交于
    The same error print exists 4 times in the regulator core
    
    	<rdev>: operation not allowed
    
    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>: drms operation not allowed
    	<rdev>: voltage operation not allowed
    	<rdev>: current operation not allowed
    	<rdev>: mode operation not allowed
    Signed-off-by: NStephen Boyd <sboyd@codeaurora.org>
    Signed-off-by: NMark Brown <broonie@kernel.org>
    7ebcf26c
core.c 109.2 KB