Re: [PATCH 3/5] regulator: pwm: Prints error number when it fails

From: Laxman Dewangan
Date: Sun Mar 13 2016 - 09:21:22 EST



On Saturday 12 March 2016 11:35 AM, Mark Brown wrote:
* PGP Signed by an unknown key

On Tue, Mar 08, 2016 at 04:23:23PM +0530, Laxman Dewangan wrote:

+ dev_err(&pdev->dev, "Failed to get PWM, %d\n", ret);
Pretty much everywhere else in the kernel we use "foo: %d\n" - please
use a consistent style.

I saw mixed approach and so always thought what would be better.
Great to know that it is foo: %d style is far better than other way.

Will correct and post the another patch.