Thread (24 messages) 24 messages, 4 authors, 2015-03-09

Re: [PATCH 3/4] pinctrl: sh-pfc: Use u32 to store register data

From: Linus Walleij <hidden>
Date: 2015-03-09 16:37:30
Also in: linux-sh

On Fri, Feb 27, 2015 at 6:38 PM, Geert Uytterhoeven
[off-list ref] wrote:
As PFC registers are either 8, 16, or 32 bits wide, use u32 (mostly
replacing unsigned long) to store (parts of) register values and masks.

Switch the shadow register operations from {set,clear}_bit() to plain C
bit operations, as the former can operate on long data only.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Patch applied with Laurent's ACK.

Yours,
Linus Walleij
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help