diff options
author | Ben Dooks <ben-linux@fluff.org> | 2010-05-27 01:42:21 +0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-05-27 20:12:41 +0400 |
commit | 796a8e423ac8afe9e98ad96e668f50142bdd7825 (patch) | |
tree | 1ecf3e0e86c41695e24bc0102c686aedbca98c41 /sound | |
parent | a13c1868aa60ae7a2516b8d00ee8873dea587581 (diff) | |
download | linux-796a8e423ac8afe9e98ad96e668f50142bdd7825.tar.xz |
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>
Diffstat (limited to 'sound')
0 files changed, 0 insertions, 0 deletions