]> git.karo-electronics.de Git - linux-beck.git/commit
gpio-amd8111: check ioport_map return value
authorVarka Bhadram <varkabhadram@gmail.com>
Mon, 29 Dec 2014 08:39:01 +0000 (14:09 +0530)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 15 Jan 2015 16:23:21 +0000 (17:23 +0100)
commitffe4770b9b3483f74bccd0566fd1013ddc1b6d6b
treedf30d8826003036cfc96b036bbeb61d0724eecc2
parentda9df93e9e0fd1d8c14315c6c0f989a30c291a11
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>
drivers/gpio/gpio-amd8111.c