commit | 7505817603854506732affb584ef6568a4702d6f | [log] [tgz] |
---|---|---|
author | Devendra Naga <devendra.aaru@gmail.com> | Thu Sep 13 13:09:29 2012 -0400 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Thu Sep 13 20:20:28 2012 -0700 |
tree | 6c974090b6563035294d279c2097449abf6481a1 | |
parent | 99d4b1a6cbfa8449dad5fb58e8c8044301e2667a [diff] |
staging:ccg: cleanup a bit of binding the ccg_bind_function uses ret variable and a logic around the ccg_bind_enabled_functions to return a value other than 0 if bind function fail, other wise returns 0, this can be achieved with just a return ccg_bind_enabled_functions(dev, c); Signed-off-by: Devendra Naga <devendra.aaru@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>