platform/x86: intel-vbtn: Log event code on unexpected button events
authorHans de Goede <hdegoede@redhat.com>
Wed, 27 Mar 2024 19:57:12 +0000 (20:57 +0100)
committerHans de Goede <hdegoede@redhat.com>
Mon, 8 Apr 2024 13:24:32 +0000 (15:24 +0200)
commit7ad58be75fcd4ef7d9b637cc3b6c48b26082eef3
tree698928dfc2c3d545fe653b54c5e9dd7cb52735d2
parent10eba55febd4784cf54bbb411636f3929723bfc0
platform/x86: intel-vbtn: Log event code on unexpected button events

When logging the warning about receiving a button event on a device
without buttons log the event code which triggered the warning.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Kuppuswamy Sathyanarayanan <sathyanarayanan.kuppuswamy@linux.intel.com>
Link: https://lore.kernel.org/r/20240327195712.43851-1-hdegoede@redhat.com
drivers/platform/x86/intel/vbtn.c