git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9e08924
)
gpio: max732x: use an inline function for container cast
author
Linus Walleij
<linus.walleij@linaro.org>
Fri, 30 Jan 2015 09:56:05 +0000
(10:56 +0100)
committer
Linus Walleij
<linus.walleij@linaro.org>
Tue, 3 Feb 2015 12:35:57 +0000
(13:35 +0100)
Cast the struct gpio_chip into a max732x_chip using an inline
macro and move the assignment to the variable declaration
to save lines and simplify things.
Cc: Semen Protsenko <semen.protsenko@globallogic.com>
Acked-by: Mans Rullgard <mans@mansr.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-max732x.c
patch
|
blob
|
history
diff --cc
drivers/gpio/gpio-max732x.c
Simple merge