platform/x86: intel_mid_powerbtn: Introduce driver data
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 19 Jan 2017 16:39:43 +0000 (18:39 +0200)
committerDarren Hart <dvhart@linux.intel.com>
Sat, 4 Feb 2017 01:47:21 +0000 (02:47 +0100)
commit18934eceed987432ec90db46196e9653fe704d80
treeca6618689e15df133decdf7bf895e13e491fff14
parent48b44529d35f715362ea93f070ca1ac938e205e3
platform/x86: intel_mid_powerbtn: Introduce driver data

This is preparatory patch to extend the driver in order to support other
Intel MID platform.

Here the new driver data structure is introduced with split of
->pbstat() callback.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
drivers/platform/x86/intel_mid_powerbtn.c