pinctrl/nomadik: fix null in irqdomain errorpath
authorLinus Walleij <linus.walleij@linaro.org>
Fri, 10 Aug 2012 09:07:51 +0000 (11:07 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 17 Aug 2012 09:09:58 +0000 (11:09 +0200)
commit2ee38d4de5b0f1bd4ed9f0c830ae6949e39c18f0
tree681945fa2e03972053f1b8c914e964b69995ddf5
parentd9875690d9b89a866022ff49e3fcea892345ad92
pinctrl/nomadik: fix null in irqdomain errorpath

The irqdomain conversion failed to notice that we do not always
have a DT node to dereference, fix this up by using a simple
dev_err() that also tells the name of the device.

Cc: Loic Pallardy <loic.pallardy@st.com>
Cc: Patrice Chotard <patrice.chotard@stericsson.com>
Acked-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinctrl-nomadik.c