git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'gpio-updates-for-v5.16' of git://git.kernel.org/pub/scm/linux/kernel/git...
[sfrench/cifs-2.6.git]
/
drivers
/
gpio
/
gpio-mlxbf2.c
diff --git
a/drivers/gpio/gpio-mlxbf2.c
b/drivers/gpio/gpio-mlxbf2.c
index 88ac2ade948d5956dfa13da303d86563658fc25a..3d89912a05b870d5ecc859e7217cae47d960fe48 100644
(file)
--- a/
drivers/gpio/gpio-mlxbf2.c
+++ b/
drivers/gpio/gpio-mlxbf2.c
@@
-366,6
+366,11
@@
mlxbf2_gpio_probe(struct platform_device *pdev)
NULL,
0);
+ if (ret) {
+ dev_err(dev, "bgpio_init failed\n");
+ return ret;
+ }
+
gc->direction_input = mlxbf2_gpio_direction_input;
gc->direction_output = mlxbf2_gpio_direction_output;
gc->ngpio = npins;