pinctrl: tegra: use signed bitfields for optional fields
authorStefan Agner <stefan@agner.ch>
Mon, 16 Mar 2015 21:42:34 +0000 (22:42 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 19 Mar 2015 08:20:17 +0000 (09:20 +0100)
commite4c02dced975cbb3e7cb097a0895ce0143b3386a
tree2abd5fb32e51949422e5a7b39275c96c1f5413f3
parent5757bfe51e53f8ae6e201310a830b207c5a64e02
pinctrl: tegra: use signed bitfields for optional fields

Optional fields are set to -1 by various preprocessor macros. Make
sure the fields can actually store them.

Signed-off-by: Stefan Agner <stefan@agner.ch>
Acked-by: Stephen Warren <swarren@nvidia.com>
Tested-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinctrl-tegra.h