[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20120321085405.GB10935@opensource.wolfsonmicro.com>
Date: Wed, 21 Mar 2012 08:54:05 +0000
From: Mark Brown <broonie@...nsource.wolfsonmicro.com>
To: Axel Lin <axel.lin@...il.com>
Cc: linux-kernel <linux-kernel@...r.kernel.org>,
Liam Girdwood <lrg@...mlogic.co.uk>,
MyungJoo Ham <myungjoo.ham@...sung.com>,
Kyungmin Park <kyungmin.park@...sung.com>
Subject: Re: [PATCH] regulator: max8952: Simplify the logic to get vid[0|1]
status
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.
Download attachment "signature.asc" of type "application/pgp-signature" (837 bytes)
Powered by blists - more mailing lists