eeepc-laptop: use netlink interface

To be prepared for /proc/acpi/event removal we export events
also through generic netlink interface.

Signed-off-by: Corentin Chary <corentincj@iksaif.net>
Signed-off-by: Len Brown <len.brown@intel.com>

authored by

Corentin Chary and committed by
Len Brown
2b25c9f0 5740294c

+3 -2
+3 -2
drivers/platform/x86/eeepc-laptop.c
··· 560 560 return; 561 561 if (event >= NOTIFY_BRN_MIN && event <= NOTIFY_BRN_MAX) 562 562 notify_brn(); 563 - acpi_bus_generate_proc_event(ehotk->device, event, 564 - ehotk->event_count[event % 128]++); 563 + acpi_bus_generate_netlink_event(ehotk->device->pnp.device_class, 564 + dev_name(&ehotk->device->dev), event, 565 + ehotk->event_count[event % 128]++); 565 566 if (ehotk->inputdev) { 566 567 key = eepc_get_entry_by_scancode(event); 567 568 if (key) {