projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
082cc46
)
mfd: dm355evm_msp: Switch to gpiochip_add_data()
author
Linus Walleij
<linus.walleij@linaro.org>
Wed, 30 Mar 2016 08:48:02 +0000
(10:48 +0200)
committer
Lee Jones
<lee.jones@linaro.org>
Tue, 19 Apr 2016 06:58:16 +0000
(07:58 +0100)
We're planning to remove the gpiochip_add() function to swith
to gpiochip_add_data() with NULL for data argument.
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/dm355evm_msp.c
patch
|
blob
|
history
diff --git
a/drivers/mfd/dm355evm_msp.c
b/drivers/mfd/dm355evm_msp.c
index ec4438ed2fafd73415b3efb40b131e587ddbf45a..d7d59f8d9d06ea4f499b0953bd496658fbc0d18b 100644
(file)
--- a/
drivers/mfd/dm355evm_msp.c
+++ b/
drivers/mfd/dm355evm_msp.c
@@
-260,7
+260,7
@@
static int add_children(struct i2c_client *client)
/* GPIO-ish stuff */
dm355evm_msp_gpio.parent = &client->dev;
- status = gpiochip_add
(&dm355evm_msp_gpio
);
+ status = gpiochip_add
_data(&dm355evm_msp_gpio, NULL
);
if (status < 0)
return status;