summaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpio-bd70528.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* gpio: bd70528: remove redundant assignment to variable retColin Ian King2019-07-281-1/+1
| | | | | | | | | | | Variable ret is being initialized with a value that is never read and ret is being re-assigned a little later on. The assignment is redundant and hence can be removed. Addresses-Coverity: ("Unused value") Signed-off-by: Colin Ian King <colin.king@canonical.com> Link: https://lore.kernel.org/r/20190629123306.12519-1-colin.king@canonical.com Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
* gpio: bd70528: fix spelling misstake "debouce" -> "debounce"Colin Ian King2019-07-281-1/+1
| | | | | | | | There is a spelling mistake in a dev_err message. Fix it. Signed-off-by: Colin Ian King <colin.king@canonical.com> Link: https://lore.kernel.org/r/20190628161419.26439-1-colin.king@canonical.com Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
* gpio: Initial support for ROHM bd70528 GPIO blockMatti Vaittinen2019-06-271-0/+232
ROHM BD70528 PMIC has 4 GPIO pins. Allow them to be controlled by GPIO framework. IRQs are handled by regmap-irq and GPIO driver is not aware of the irq usage. Signed-off-by: Matti Vaittinen <matti.vaittinen@fi.rohmeurope.com> Reviewed-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Lee Jones <lee.jones@linaro.org>