aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpio/gpio-amd8111.c
AgeCommit message (Collapse)AuthorFilesLines
2015-01-19gpio-amd8111: add release_region on ioport_map failureVarka Bhadram1-0/+1
Commit ffe4770b9b3483f74 ("gpio-amd8111: check ioport_map return value") adds the error check on ioport_map(). It doesnt release the requested region. On failure this patch release the region that has requested before. Signed-off-by: Varka Bhadram <[email protected]> Reported-by: Alexandre Courbot <[email protected]> Signed-off-by: Linus Walleij <[email protected]>
2015-01-15gpio-amd8111: check ioport_map return valueVarka Bhadram1-0/+5
ioport_map() may fail. Its safe to check the return value. Signed-off-by: Varka Bhadram <[email protected]> Signed-off-by: Linus Walleij <[email protected]>
2014-10-27gpio: amd8111: unmap ioport on failure casePramod Gurav1-0/+1
This change unmaps ioport when gpiochip_add fails Signed-off-by: Pramod Gurav <[email protected]> Reviewed-by: Alexandre Courbot <[email protected]> Signed-off-by: Linus Walleij <[email protected]>
2014-07-22gpio: remove all usage of gpio_remove retval in driver/gpioabdoulaye berthe1-2/+1
Signed-off-by: abdoulaye berthe <[email protected]> Signed-off-by: Linus Walleij <[email protected]>
2013-12-03gpio: remove DEFINE_PCI_DEVICE_TABLE macroJingoo Han1-1/+1
Don't use DEFINE_PCI_DEVICE_TABLE macro, because this macro is not preferred. Signed-off-by: Jingoo Han <[email protected]> Signed-off-by: Linus Walleij <[email protected]>
2012-07-12gpio: add a driver for GPIO pins found on AMD-8111 south bridge chipsDmitry Eremin-Solenikov1-0/+246
Add a driver to use GPIO pins available on several AMD south bridges (currently only AMD 8111 is supported). Signed-off-by: Dmitry Eremin-Solenikov <[email protected]> Signed-off-by: Linus Walleij <[email protected]>