On Thu, Apr 26, 2018 at 09:31:52AM +0200, Johan Hovold wrote:
> Make sure to free the rfkill device in case registration fails during
> probe.
>
> Fixes: 5e7ca3937fbe ("net: rfkill: gpio: convert to resource managed
> allocation")
> Cc: stable# 3.13
> Cc: Hei
Amir Goldstein
> Cc: Jarkko Sakkinen
> Cc: Jani Nikula
> Cc: Ben Skeggs
> Cc: Benjamin Tissoires
> Cc: Joerg Roedel
> Cc: Adrian Hunter
> Cc: Yisen Zhuang
> Cc: Bjorn Helgaas
> Cc: Zhang Rui
> Cc: Felipe Balbi
> Cc: Mathias Nyman
> Cc: Heikki Kroger
This prepares the driver for removal of platform data.
Signed-off-by: Heikki Krogerus
---
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 4b1e3f3..1a9c031 100644
--- a/net
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
---
include/linux/rfkill.h | 15 +
net/rfkill/core.c | 57 +-
2 files changed, 44
Pass the rfkill name and type to the device with properties
instead of driver specific platform data.
Signed-off-by: Heikki Krogerus
CC: Alexandre Courbot
CC: Thierry Reding
CC: Stephen Warren
---
arch/arm/mach-tegra/board-paz00.c | 17 ++---
1 file changed, 10 insertions(+), 7
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 with
No more users for it.
Signed-off-by: Heikki Krogerus
---
include/linux/rfkill-gpio.h | 37 -
net/rfkill/Kconfig | 3 +--
net/rfkill/rfkill-gpio.c| 8
3 files changed, 1 insertion(+), 47 deletions(-)
delete mode 100644 include/linux
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",
> > +
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.
> >
> > Sig
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
> > ---
> &g
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
> > ---
> > include/linux/rfkill-gpio.h | 37 -
This prepares the driver for removal of platform data.
Signed-off-by: Heikki Krogerus
---
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 d5d58d9..07323c3 100644
--- a/net
Marcos for easier creation of build-in property entries.
Signed-off-by: Heikki Krogerus
---
include/linux/property.h | 35 +++
1 file changed, 35 insertions(+)
diff --git a/include/linux/property.h b/include/linux/property.h
index 76ebde9..204d899 100644
--- a
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
Pass the rfkill name and type to the device with properties
instead of driver specific platform data.
Signed-off-by: Heikki Krogerus
CC: Alexandre Courbot
CC: Thierry Reding
CC: Stephen Warren
---
arch/arm/mach-tegra/board-paz00.c | 17 ++---
1 file changed, 10 insertions(+), 7
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
---
include/linux/rfkill.h | 15 +
net/rfkill/core.c | 57 +-
2 files changed, 44
No more users for it.
Signed-off-by: Heikki Krogerus
---
include/linux/rfkill-gpio.h | 37 -
net/rfkill/Kconfig | 3 +--
net/rfkill/rfkill-gpio.c| 8
3 files changed, 1 insertion(+), 47 deletions(-)
delete mode 100644 include/linux
17 matches
Mail list logo