aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpio/gpio-tb10x.c
AgeCommit message (Collapse)AuthorFilesLines
2013-11-25gpio: tb10x: Set output value before setting direction to outputAxel Lin1-0/+1
Signed-off-by: Axel Lin <[email protected]> Acked-by: Christian Ruppert <[email protected]> Signed-off-by: Linus Walleij <[email protected]>
2013-10-30gpio: tb10x: fix return value check in tb10x_gpio_probe()Wei Yongjun1-4/+2
In case of error, the function devm_ioremap_resource() returns ERR_PTR() and never returns NULL. The NULL test in the return value check should be replaced with IS_ERR(). Also remove the dev_err call to avoid redundant error message. Signed-off-by: Wei Yongjun <[email protected]> Signed-off-by: Linus Walleij <[email protected]>
2013-10-30gpio: tb10x: use module_platform_driver to simplify the codeWei Yongjun1-12/+1
module_platform_driver() makes the code simpler by eliminating boilerplate code. Signed-off-by: Wei Yongjun <[email protected]> Signed-off-by: Linus Walleij <[email protected]>
2013-10-25gpio: add TB10x GPIO driverChristian Ruppert1-0/+341
The GPIO driver for the Abilis Systems TB10x series of SOCs based on ARC700 CPUs. It supports GPIO control and GPIO interrupt generation. This driver works in conjunction with the TB10x pinctrl driver. Signed-off-by: Sascha Leuenberger <[email protected]> Signed-off-by: Christian Ruppert <[email protected]> Acked-by: Kumar Gala <[email protected]> Signed-off-by: Linus Walleij <[email protected]>