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

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

From: Geert Uytterhoeven <geert@linux-m68k.org>
Date: 2015-03-09 17:56:39
Also in: linux-sh

Hi Linus,

On Mon, Mar 9, 2015 at 5:37 PM, Linus Walleij [off-list ref] wrote:
On Fri, Feb 27, 2015 at 6:38 PM, Geert Uytterhoeven
[off-list ref] wrote:
quoted
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.
Thanks!

I will post the reworked/new patches when I see your published branch.

Gr{oetje,eeting}s,

                        Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help