aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/platform/x86/hp-wireless.c
Commit message (Collapse)AuthorAge
* platform/x86: hp-wireless: reuse module_acpi_driverAndy Shevchenko2017-04-28
| | | | | | | | | There is a macro to register and unregister modules in simple cases, Let's use it and clean up the driver. Cc: Alex Hung <alex.hung@canonical.com> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Darren Hart (VMware) <dvhart@infradead.org>
* platform/x86: hp-wireless: add Xiaomi's hardware id to the supported listAlex Hung2017-04-13
| | | | | | | | | | | The airplane mode button on Xiaomi's new laptops are the same as HP laptops. This is tested on Xiaomi Notebook Air 13. Signed-off-by: Alex Hung <alex.hung@canonical.com> [dvhart: Dropped module init/exit info messages] Signed-off-by: Darren Hart (VMware) <dvhart@infradead.org>
* hp-wireless: remove unneeded goto/label in hpwl_initGiedrius Statkevičius2015-08-26
| | | | | | | | | | acpi_bus_register_driver() already returns an appropriate value (0 on success, and some negative value on error) to be used in __init functions so the goto/label is redundant in hpwl_init thus remove it and directly return the value Signed-off-by: Giedrius Statkevičius <giedrius.statkevicius@gmail.com> Signed-off-by: Darren Hart <dvhart@linux.intel.com>
* hp_wireless: Inform the user if hp_wireless_input_setup()/add() failsGiedrius Statkevicius2014-12-03
| | | | | | | | | | | In hpwl_add() there is a unused variable err to which we assign the result of hp_wireless_input_setup() but we don't do anything depending on the result so print out a message that informs the user if add() (hp_wireless_input_setup()) fails since acpi_device_probe() doesn't print anything in this case. Signed-off-by: Giedrius Statkevicius <giedriuswork@gmail.com> Signed-off-by: Darren Hart <dvhart@linux.intel.com>
* hp-wireless: new driver for hp wireless button for Windows 8Alex Hung2014-01-21
Signed-off-by: Alex Hung <alex.hung@canonical.com> Signed-off-by: Matthew Garrett <matthew.garrett@nebula.com>