pinctrl: fix a memleak when freeing maps

We forgot to free the node itself when free:ing a map.

Reported-by: xulinuxkernel <xulinuxkernel@gmail.com>
Reviewed-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>

Changed files
+1
drivers
pinctrl
+1
drivers/pinctrl/core.c
··· 1193 1193 list_for_each_entry(maps_node, &pinctrl_maps, node) { 1194 1194 if (maps_node->maps == map) { 1195 1195 list_del(&maps_node->node); 1196 + kfree(maps_node); 1196 1197 mutex_unlock(&pinctrl_maps_mutex); 1197 1198 return; 1198 1199 }