ideapad: pass ideapad_priv as argument (part 1)
authorIke Panhc <ike.pan@canonical.com>
Mon, 13 Dec 2010 10:01:01 +0000 (18:01 +0800)
committerMatthew Garrett <mjg@redhat.com>
Fri, 7 Jan 2011 22:03:47 +0000 (17:03 -0500)
commit8693ae846cad00e6c2c40e116ec1fc50c145b559
treeba9cbd50fe81ff249db931559ca04afee5676e3a
parenta4b5a2794a27da870c2e16db390778a4683f95f8
ideapad: pass ideapad_priv as argument (part 1)

Passing ideapad_priv as argument and try not to using too much global variable.
This is part 1 for platform driver and input device.

Signed-off-by: Ike Panhc <ike.pan@canonical.com>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
drivers/platform/x86/ideapad-laptop.c