rnel.org> # 3.13
> Cc: Heikki Krogerus <heikki.kroge...@linux.intel.com>
Good catch. FWIW:
Reviewed-by: Heikki Krogerus <heikki.kroge...@linux.intel.com>
> Signed-off-by: Johan Hovold <jo...@kernel.org>
> ---
> net/rfkill/rfkill-gpio.c | 7 ++-
> 1 file c
;bske...@redhat.com>
> Cc: Benjamin Tissoires <benjamin.tissoi...@redhat.com>
> Cc: Joerg Roedel <j...@8bytes.org>
> Cc: Adrian Hunter <adrian.hun...@intel.com>
> Cc: Yisen Zhuang <yisen.zhu...@huawei.com>
> Cc: Bjorn Helgaas <bhelg...@google.com&
This prepares the driver for removal of platform data.
Signed-off-by: Heikki Krogerus <heikki.kroge...@linux.intel.com>
---
net/rfkill/rfkill-gpio.c | 16 +++-
1 file changed, 11 insertions(+), 5 deletions(-)
diff --git a/net/rfkill/rfkill-gpio.c b/net/rfkill/rfkill-gpio.c
Helper for finding the type based on name. Useful if the
type needs to be determined based on device property.
Signed-off-by: Heikki Krogerus <heikki.kroge...@linux.intel.com>
---
include/linux/rfkill.h | 15 +
net/rfkill/core.c
Hi,
The changes to the unified properties interface that I have been
waiting for are finally available in v4.5-rc1.
Heikki Krogerus (4):
net: rfkill: add rfkill_find_type function
net: rfkill: gpio: get the name and type from device property
ARM: tegra: use build-in device properties
No more users for it.
Signed-off-by: Heikki Krogerus <heikki.kroge...@linux.intel.com>
---
include/linux/rfkill-gpio.h | 37 -
net/rfkill/Kconfig | 3 +--
net/rfkill/rfkill-gpio.c| 8
3 files changed, 1 insertion(+), 47 del
Pass the rfkill name and type to the device with properties
instead of driver specific platform data.
Signed-off-by: Heikki Krogerus <heikki.kroge...@linux.intel.com>
CC: Alexandre Courbot <gnu...@gmail.com>
CC: Thierry Reding <thierry.red...@gmail.com>
CC: Stephen Warren <
Hi,
On Thu, Aug 13, 2015 at 11:27:46AM +0200, Johannes Berg wrote:
On Wed, 2015-08-05 at 16:39 +0300, Heikki Krogerus wrote:
+static const char *rfkill_types[NUM_RFKILL_TYPES] = {
+ [RFKILL_TYPE_WLAN] = wlan,
+ [RFKILL_TYPE_BLUETOOTH] = bluetooth,
+ [RFKILL_TYPE_UWB
On Wed, Aug 05, 2015 at 05:07:29PM +0300, Andy Shevchenko wrote:
On Wed, 2015-08-05 at 16:39 +0300, Heikki Krogerus wrote:
Helper for finding the type based on name. Useful if the
type needs to be determined based on device property.
Signed-off-by: Heikki Krogerus heikki.kroge
On Wed, Aug 05, 2015 at 05:15:28PM +0300, Andy Shevchenko wrote:
On Wed, 2015-08-05 at 16:39 +0300, Heikki Krogerus wrote:
No more users for it.
Signed-off-by: Heikki Krogerus heikki.kroge...@linux.intel.com
---
include/linux/rfkill-gpio.h | 37
On Wed, Aug 05, 2015 at 05:02:18PM +0300, Andy Shevchenko wrote:
On Wed, 2015-08-05 at 16:39 +0300, Heikki Krogerus wrote:
Marcos for easier creation of build-in property entries.
Signed-off-by: Heikki Krogerus heikki.kroge...@linux.intel.com
---
include/linux/property.h | 35
No more users for it.
Signed-off-by: Heikki Krogerus heikki.kroge...@linux.intel.com
---
include/linux/rfkill-gpio.h | 37 -
net/rfkill/Kconfig | 3 +--
net/rfkill/rfkill-gpio.c| 8
3 files changed, 1 insertion(+), 47 deletions
Helper for finding the type based on name. Useful if the
type needs to be determined based on device property.
Signed-off-by: Heikki Krogerus heikki.kroge...@linux.intel.com
---
include/linux/rfkill.h | 15 +
net/rfkill/core.c | 57
Pass the rfkill name and type to the device with properties
instead of driver specific platform data.
Signed-off-by: Heikki Krogerus heikki.kroge...@linux.intel.com
CC: Alexandre Courbot gnu...@gmail.com
CC: Thierry Reding thierry.red...@gmail.com
CC: Stephen Warren swar...@wwwdotorg.org
The first patch adds a few helper macros for build-in property
creation and the second makes it possible to get the rfkill type
index based on name. The rest deal with rfkill-gpio.
Cheers,
Heikki Krogerus (5):
device property: helper macros for property entry creation
net: rfkill: add
Marcos for easier creation of build-in property entries.
Signed-off-by: Heikki Krogerus heikki.kroge...@linux.intel.com
---
include/linux/property.h | 35 +++
1 file changed, 35 insertions(+)
diff --git a/include/linux/property.h b/include/linux/property.h
index
This prepares the driver for removal of platform data.
Signed-off-by: Heikki Krogerus heikki.kroge...@linux.intel.com
---
net/rfkill/rfkill-gpio.c | 16 +++-
1 file changed, 11 insertions(+), 5 deletions(-)
diff --git a/net/rfkill/rfkill-gpio.c b/net/rfkill/rfkill-gpio.c
index
17 matches
Mail list logo