commit | 796a8e423ac8afe9e98ad96e668f50142bdd7825 | [log] [tgz] |
---|---|---|
author | Ben Dooks <ben-linux@fluff.org> | Wed May 26 14:42:21 2010 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Thu May 27 09:12:41 2010 -0700 |
tree | 1ecf3e0e86c41695e24bc0102c686aedbca98c41 | |
parent | a13c1868aa60ae7a2516b8d00ee8873dea587581 [diff] |
gpiolib: make gpiochip_add() show a better error message The current message, 'not registered' is confusing as it implies it was not registered with something, whereas printing 'failed to register' implies it was the gpiochip_add() call that did not work correctly. Signed-off-by: Ben Dooks <ben-linux@fluff.org> Cc: David Brownell <david-b@pacbell.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>