ACPI / LPSS: Make hid_uid_match helper take an acpi_device as first argument
commitea625ce133176d7eeccd692967dce5622cbb61ee
authorHans de Goede <hdegoede@redhat.com>
Sun, 23 Sep 2018 13:58:06 +0000 (23 15:58 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Sun, 30 Sep 2018 20:38:24 +0000 (30 22:38 +0200)
treeb4b2ec2df6b62439902a64e2480adac648b546ab
parent86b62e5cd8965d3056f9e9ccdec51631c37add81
ACPI / LPSS: Make hid_uid_match helper take an acpi_device as first argument

The hid_uid_match() helper is only used to check if a given acpi_device
matches a certain hid + uid combination. Make the first argument the
acpi_device to check to make this more clear.

Tested-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/acpi_lpss.c