Re: [PATCH] regulator: core: Assign bool value to variable has_full_constraints

From: Mark Brown
Date: Mon Jul 04 2016 - 05:10:10 EST


On Mon, Jul 04, 2016 at 04:38:26PM +0800, Baoquan He wrote:

> By the way, I still think it makes code more read-able to assign a bool
> value to a bool variable. In your words, C truly has full support for
> using integers in a boolean context, then commit 21cf891a is not
> necessary to be made to change.

The feedback here is largely about the commit message - it's written
like it's fixing a bug but it's really just a stylistic change.

Attachment: signature.asc
Description: PGP signature