aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pinctrl
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/pinctrl')
-rw-r--r--drivers/pinctrl/mvebu/pinctrl-mvebu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pinctrl/mvebu/pinctrl-mvebu.c b/drivers/pinctrl/mvebu/pinctrl-mvebu.c
index 362446508c90..0fd1ad31fbf9 100644
--- a/drivers/pinctrl/mvebu/pinctrl-mvebu.c
+++ b/drivers/pinctrl/mvebu/pinctrl-mvebu.c
@@ -444,7 +444,7 @@ static int mvebu_pinctrl_dt_node_to_map(struct pinctrl_dev *pctldev,
444 } 444 }
445 445
446 *map = kmalloc(nmaps * sizeof(struct pinctrl_map), GFP_KERNEL); 446 *map = kmalloc(nmaps * sizeof(struct pinctrl_map), GFP_KERNEL);
447 if (map == NULL) { 447 if (*map == NULL) {
448 dev_err(pctl->dev, 448 dev_err(pctl->dev,
449 "cannot allocate pinctrl_map memory for %s\n", 449 "cannot allocate pinctrl_map memory for %s\n",
450 np->name); 450 np->name);