Re: [PATCH] regulator: max8952: Simplify the logic to get vid[0|1]status

From: Mark Brown
Date: Wed Mar 21 2012 - 04:54:06 EST


On Thu, Mar 15, 2012 at 08:47:48AM +0800, Axel Lin wrote:
> The syntax "(((vid >> 1) % 2) == 1)" is inefficient and also hard to read.
> Use bitwidse AND operator instead.

Applied, thanks.

Attachment: signature.asc
Description: Digital signature