samsung-laptop: put all local variables in a single structure
authorCorentin Chary <corentincj@iksaif.net>
Sat, 26 Nov 2011 09:59:58 +0000 (10:59 +0100)
committerMatthew Garrett <mjg@redhat.com>
Tue, 20 Mar 2012 16:02:05 +0000 (12:02 -0400)
commita6df48943a408b493d1aa141791d614a529d484e
tree3e5d9d88c76fa130f1f5f49967a57000c7a0f185
parent73d99a224435f25976a29c3aef53590180cdb774
samsung-laptop: put all local variables in a single structure

Even if this driver can only be loaded once, it is still a good
idea to create some kind of context structure.

Signed-off-by: Corentin Chary <corentincj@iksaif.net>
Acked-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
drivers/platform/x86/samsung-laptop.c