]> git.baikalelectronics.ru Git - kernel.git/commit
platform/x86: Simplify intel_mid_powerbtn
authorAmeya Palande <2ameya@gmail.com>
Wed, 6 Apr 2011 14:44:37 +0000 (17:44 +0300)
committerMatthew Garrett <mjg@redhat.com>
Fri, 27 May 2011 16:36:46 +0000 (12:36 -0400)
commit39667bfe64499d913d48a3e63cd9e461c2b1df96
tree8086d04ef844a4511f193acb9274bedc985c8201
parent07f99afdc0be3a1d164fee7458699bf7513e0d1b
platform/x86: Simplify intel_mid_powerbtn

This patch:
1. Removes unnecessay #defines
2. Removes 'mfld_pb_priv' data structure which results in simpler error
   handling and less memory allocations.

Signed-off-by: Ameya Palande <2ameya@gmail.com>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
drivers/platform/x86/intel_mid_powerbtn.c