]> git.karo-electronics.de Git - karo-tx-linux.git/commit
pinctrl: core: Make dt_free_map optional
authorTony Lindgren <tony@atomide.com>
Fri, 30 Dec 2016 18:37:31 +0000 (10:37 -0800)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 9 Jan 2017 18:41:07 +0000 (19:41 +0100)
commit92c2b671848e7816455ba5374e98913d920f3257
treea28248ac8382d86bf500416d99232c2ee095e816
parentd83bb5a46dedc39a1226272bec4eb47867ba25d4
pinctrl: core: Make dt_free_map optional

If the pin controller driver is using devm_kzalloc, there may not be
anything to do for dt_free_map. Let's make it optional to avoid
unncessary boilerplate code.

Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/core.c
drivers/pinctrl/devicetree.c