[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20151106144635.GA8418@ulmo>
Date: Fri, 6 Nov 2015 15:46:35 +0100
From: Thierry Reding <thierry.reding@...il.com>
To: Olliver Schinagl <o.schinagl@...imaker.com>
Cc: Olliver Schinagl <oliver@...inagl.nl>,
Rob Herring <robh+dt@...nel.org>,
Pawel Moll <pawel.moll@....com>,
Mark Rutland <mark.rutland@....com>,
Ian Campbell <ijc+devicetree@...lion.org.uk>,
Kumar Gala <galak@...eaurora.org>,
Joachim Eastwood <manabian@...il.com>,
Maxime Ripard <maxime.ripard@...e-electrons.com>,
Alexandre Belloni <alexandre.belloni@...e-electrons.com>,
Olliver Schinagl <oliver+list@...inagl.nl>,
linux-pwm@...r.kernel.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-arm-kernel@...ts.infradead.org
Subject: Re: [PATCH 04/10] pwm: core: use bitops
On Mon, Oct 26, 2015 at 10:32:35PM +0100, Olliver Schinagl wrote:
> From: Olliver Schinagl <oliver@...inagl.nl>
>
> The pwm header defines bits manually while there is a nice bitops.h with
> a BIT() macro. Use the BIT() macro to set bits in pwm.h
>
> Signed-off-by: Olliver Schinagl <oliver@...inagl.nl>
> ---
> include/linux/pwm.h | 7 ++++---
> 1 file changed, 4 insertions(+), 3 deletions(-)
I don't think this is a useful change. The BIT() macro needs the same
number of characters to type at the expense of requiring an additional
include.
Thierry
Download attachment "signature.asc" of type "application/pgp-signature" (820 bytes)
Powered by blists - more mailing lists