projects
/
wrapfs-5.3.y.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1001354
)
Staging: greybus: gpio: Use gbphy_dev->dev instead of bundle->dev
author
Viresh Kumar
<viresh.kumar@linaro.org>
Wed, 12 Oct 2016 02:32:21 +0000
(08:02 +0530)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Mon, 17 Oct 2016 07:14:55 +0000
(09:14 +0200)
Some of the print messages are using the incorrect device pointer, fix
them.
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Acked-by: Johan Hovold <johan@kernel.org>
Reviewed-by: Rui Miguel Silva <rmfrfs@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/greybus/gpio.c
patch
|
blob
|
history
diff --git
a/drivers/staging/greybus/gpio.c
b/drivers/staging/greybus/gpio.c
index 5e06e4229e4239e3e307ce2a0faac266ddd1c7e5..250caa00de5e9f4665978ef0105a8b42c2e49420 100644
(file)
--- a/
drivers/staging/greybus/gpio.c
+++ b/
drivers/staging/greybus/gpio.c
@@
-702,15
+702,13
@@
static int gb_gpio_probe(struct gbphy_device *gbphy_dev,
ret = gb_gpio_irqchip_add(gpio, irqc, 0,
handle_level_irq, IRQ_TYPE_NONE);
if (ret) {
- dev_err(&connection->bundle->dev,
- "failed to add irq chip: %d\n", ret);
+ dev_err(&gbphy_dev->dev, "failed to add irq chip: %d\n", ret);
goto exit_line_free;
}
ret = gpiochip_add(gpio);
if (ret) {
- dev_err(&connection->bundle->dev,
- "failed to add gpio chip: %d\n", ret);
+ dev_err(&gbphy_dev->dev, "failed to add gpio chip: %d\n", ret);
goto exit_gpio_irqchip_remove;
}