projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
pinctrl: berlin: fix an error code in berlin_pinctrl_probe()
[deliverable/linux.git]
/
drivers
/
pinctrl
/
berlin
/
berlin.c
diff --git
a/drivers/pinctrl/berlin/berlin.c
b/drivers/pinctrl/berlin/berlin.c
index edf5d2fd2b2233d0891a919737aa798e122f335c..86db2235ab001fe20dfd0c3bd7a8dd0e6efce1d9 100644
(file)
--- a/
drivers/pinctrl/berlin/berlin.c
+++ b/
drivers/pinctrl/berlin/berlin.c
@@
-320,7
+320,7
@@
int berlin_pinctrl_probe(struct platform_device *pdev,
regmap = dev_get_regmap(&pdev->dev, NULL);
if (!regmap)
- return
PTR_ERR(regmap)
;
+ return
-ENODEV
;
pctrl = devm_kzalloc(dev, sizeof(*pctrl), GFP_KERNEL);
if (!pctrl)
This page took
0.025516 seconds
and
5
git commands to generate.