commit | ebcef1b0e41f2ff972e5c5487a30e8f4ee2b6f13 | [log] [tgz] |
---|---|---|
author | Mattia Dongili <malattia@linux.it> | Sat May 19 22:35:46 2012 +0900 |
committer | Matthew Garrett <mjg@redhat.com> | Thu May 31 14:29:34 2012 -0400 |
tree | dab3fe4766728955a659acbe19563ea11084da34 | |
parent | 3398241b0567c662a6fcf7e61c72c74aa9cee3e8 [diff] |
sony-laptop: generalise ACPI calls into SNC functions All calls into the SNC device methods have zero or one arguments and return an integer or a buffer (some functions go as far as returning an integer _or_ a buffer depending on the input parameter...). This allows simplifying a couple of code paths and prepares the field for other users of functions returning buffers. Signed-off-by: Mattia Dongili <malattia@linux.it> Signed-off-by: Matthew Garrett <mjg@redhat.com>