diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2016-03-30 10:48:02 +0200 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2016-04-19 07:58:16 +0100 |
commit | 4363765c851313d460db86f2d41d2eebca0d9c17 (patch) | |
tree | 5dacd893412bc1202f122ffc514b3af7e0179524 /drivers/mfd | |
parent | 082cc468385dbc7bbdc234bf6f2577e64fc00bbb (diff) |
mfd: dm355evm_msp: Switch to gpiochip_add_data()
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>
Diffstat (limited to 'drivers/mfd')
-rw-r--r-- | drivers/mfd/dm355evm_msp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mfd/dm355evm_msp.c b/drivers/mfd/dm355evm_msp.c index ec4438ed2faf..d7d59f8d9d06 100644 --- 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; |