summaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpio-ml-ioh.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* gpio/ml-ioh: fix off-by-one for displaying variable i in dev_errAxel Lin2011-06-161-1/+1
| | | | | | | | | with the "for (; i != 0; i--)" sytax, i-- will be executed after the iteration. thus dev_err shows wrong i value. Switch to "while(--i >= 0)" which is better in readability. Signed-off-by: Axel Lin <axel.lin@gmail.com> Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
* gpio: reorganize driversGrant Likely2011-06-061-0/+357
Sort the gpio makefile and enforce the naming convention gpio-*.c for gpio drivers. v2: cleaned up filenames in Kconfig and comment blocks v3: fixup use of BASIC_MMIO to GENERIC_GPIO for mxc Signed-off-by: Grant Likely <grant.likely@secretlab.ca>