Skip to content

Commit

Permalink
sony-laptop: generalise ACPI calls into SNC functions
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Mattia Dongili authored and Matthew Garrett committed May 31, 2012
1 parent 3398241 commit ebcef1b
Showing 1 changed file with 133 additions and 142 deletions.
Loading

0 comments on commit ebcef1b

Please sign in to comment.