gpio-amd8111: check ioport_map return value

ioport_map() may fail. Its safe to check the return value.

Signed-off-by: Varka Bhadram <varkab@cdac.in>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
This commit is contained in:
Varka Bhadram 2014-12-29 14:09:01 +05:30 • committed by Linus Walleij
commit ffe4770b9b