net: rfkill: gpio: prepare for DT and ACPI support
authorHeikki Krogerus <heikki.krogerus@linux.intel.com>
Wed, 16 Oct 2013 10:53:42 +0000 (13:53 +0300)
committerChanho Park <chanho61.park@samsung.com>
Tue, 18 Nov 2014 03:00:32 +0000 (12:00 +0900)
commita5813043fb2534edf08a7f6efa78f38bf9e829bd
tree11027eb3b6888bae95b419c4cb7f3a5b2217528f
parent0bf663df1a0898af9640d780e88bfa9b965edeed
net: rfkill: gpio: prepare for DT and ACPI support

This will add the relevant values like the gpios and the
type in rfkill_gpio_platform_data to the rfkill_gpio_data
structure. It will allow those values to be easily picked
from DT and ACPI tables later.

Change-Id: I0851561b648c52be17dbe9a7bb01b0b62ff621a6
Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Acked-by: Rhyland Klein <rklein@nvidia.com>
Reviewed-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/rfkill/rfkill-gpio.c