Re: [PATCH] pinctrl: atlas7: clear ugly branch statements for pull and drivestrength

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Aug 5, 2015 at 5:22 AM, Barry Song <21cnbao@xxxxxxxxx> wrote:

> From: Wei Chen <Wei.Chen@xxxxxxx>
>
> To set/get atlas7 pull & drive strength, we use lots of if/else
> to check pad type. But except mask value or immediate value, all
> actions in these conditional branches are the same.
> So we use predefined pull info table and drive strength table
> to reduce these redundancy code.
>
> Signed-off-by: Wei Chen <Wei.Chen@xxxxxxx>
> Signed-off-by: Barry Song <Baohua.Song@xxxxxxx>

Patch applied.

Yours,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-gpio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux SPI]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux