search for: acpi_lid_notifier_unregister

Displaying 7 results from an estimated 7 matches for "acpi_lid_notifier_unregister".

2017 May 09
3
[PATCH v2 5/5] ACPI: button: Obselete acpi_lid_open() invocations
...cpi/button.c | 7 ++++++- drivers/gpu/drm/i915/intel_lvds.c | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/drivers/acpi/button.c b/drivers/acpi/button.c index 7ff3a75..50d7898 100644 --- a/drivers/acpi/button.c +++ b/drivers/acpi/button.c @@ -348,7 +348,12 @@ int acpi_lid_notifier_unregister(struct notifier_block *nb) } EXPORT_SYMBOL(acpi_lid_notifier_unregister); -int acpi_lid_open(void) +/* + * The intentional usage model is to register a lid notifier and use the + * notified value instead. Directly evaluating _LID without seeing a + * Notify(lid, 0x80) is not reliable. + */ +int...
2017 May 11
1
[PATCH v2 5/5] ACPI: button: Obselete acpi_lid_open() invocations
...t; drivers/gpu/drm/i915/intel_lvds.c | 2 +- > 2 files changed, 7 insertions(+), 2 deletions(-) > > diff --git a/drivers/acpi/button.c b/drivers/acpi/button.c > index 7ff3a75..50d7898 100644 > --- a/drivers/acpi/button.c > +++ b/drivers/acpi/button.c > @@ -348,7 +348,12 @@ int acpi_lid_notifier_unregister(struct notifier_block *nb) > } > EXPORT_SYMBOL(acpi_lid_notifier_unregister); > > -int acpi_lid_open(void) > +/* > + * The intentional usage model is to register a lid notifier and use the > + * notified value instead. Directly evaluating _LID without seeing a > + * Notify...
2017 May 12
0
[PATCH v2 5/5] ACPI: button: Obselete acpi_lid_open() invocations
....c | 2 +- > > 2 files changed, 7 insertions(+), 2 deletions(-) > > > > diff --git a/drivers/acpi/button.c b/drivers/acpi/button.c > > index 7ff3a75..50d7898 100644 > > --- a/drivers/acpi/button.c > > +++ b/drivers/acpi/button.c > > @@ -348,7 +348,12 @@ int acpi_lid_notifier_unregister(struct notifier_block *nb) > > } > > EXPORT_SYMBOL(acpi_lid_notifier_unregister); > > > > -int acpi_lid_open(void) > > +/* > > + * The intentional usage model is to register a lid notifier and use the > > + * notified value instead. Directly evaluating _L...
2017 May 12
2
[PATCH v2 5/5] ACPI: button: Obselete acpi_lid_open() invocations
...hanged, 7 insertions(+), 2 deletions(-) > > > > > > diff --git a/drivers/acpi/button.c b/drivers/acpi/button.c > > > index 7ff3a75..50d7898 100644 > > > --- a/drivers/acpi/button.c > > > +++ b/drivers/acpi/button.c > > > @@ -348,7 +348,12 @@ int acpi_lid_notifier_unregister(struct notifier_block *nb) > > > } > > > EXPORT_SYMBOL(acpi_lid_notifier_unregister); > > > > > > -int acpi_lid_open(void) > > > +/* > > > + * The intentional usage model is to register a lid notifier and use the > > > + * notified va...
2017 May 12
1
[PATCH v2 5/5] ACPI: button: Obselete acpi_lid_open() invocations
...2 deletions(-) >> > > >> > > diff --git a/drivers/acpi/button.c b/drivers/acpi/button.c >> > > index 7ff3a75..50d7898 100644 >> > > --- a/drivers/acpi/button.c >> > > +++ b/drivers/acpi/button.c >> > > @@ -348,7 +348,12 @@ int acpi_lid_notifier_unregister(struct notifier_block *nb) >> > > } >> > > EXPORT_SYMBOL(acpi_lid_notifier_unregister); >> > > >> > > -int acpi_lid_open(void) >> > > +/* >> > > + * The intentional usage model is to register a lid notifier and use the >&g...
2017 May 15
0
[PATCH v2 5/5] ACPI: button: Obselete acpi_lid_open() invocations
...> > > >> > > diff --git a/drivers/acpi/button.c b/drivers/acpi/button.c > >> > > index 7ff3a75..50d7898 100644 > >> > > --- a/drivers/acpi/button.c > >> > > +++ b/drivers/acpi/button.c > >> > > @@ -348,7 +348,12 @@ int acpi_lid_notifier_unregister(struct notifier_block *nb) > >> > > } > >> > > EXPORT_SYMBOL(acpi_lid_notifier_unregister); > >> > > > >> > > -int acpi_lid_open(void) > >> > > +/* > >> > > + * The intentional usage model is to register a l...
2017 May 15
2
[PATCH v2 5/5] ACPI: button: Obselete acpi_lid_open() invocations
...gt;> > > diff --git a/drivers/acpi/button.c b/drivers/acpi/button.c >> >> > > index 7ff3a75..50d7898 100644 >> >> > > --- a/drivers/acpi/button.c >> >> > > +++ b/drivers/acpi/button.c >> >> > > @@ -348,7 +348,12 @@ int acpi_lid_notifier_unregister(struct notifier_block *nb) >> >> > > } >> >> > > EXPORT_SYMBOL(acpi_lid_notifier_unregister); >> >> > > >> >> > > -int acpi_lid_open(void) >> >> > > +/* >> >> > > + * The intentional usage...