]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
ideapad_laptop: convert internal function calls to use ideapad_private as parameter
authorZhang Rui <rui.zhang@intel.com>
Wed, 25 Sep 2013 12:39:48 +0000 (20:39 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 25 Sep 2013 17:40:12 +0000 (19:40 +0200)
commit75a11f11a49da9862ff2fbae75428076571cebe4
tree489bdc534185519b4f142d7a583db891d57fbeac
parent469f64349c5e7bd072d1ca5a72b8f2a80ef118f2
ideapad_laptop: convert internal function calls to use ideapad_private as parameter

As struct ideapad_private has all the information needed for any operations,
convert ideapad_register_rfkill()/ideapad_unregister_rfkill() and
ideapad_sync_touchpad_state() to use struct ideapad_private as the parameter,
to be consistent with the others.

Signed-off-by: Zhang Rui <rui.zhang@intel.com>
CC: Matthew Garrett <matthew.garrett@nebula.com>
CC: Ike Panhc <ike.pan@canonical.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/platform/x86/ideapad-laptop.c