diff options
| author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2026-07-07 13:12:35 +0200 |
|---|---|---|
| committer | Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> | 2026-07-09 16:44:05 +0300 |
| commit | 57de5fb319810561e8fa50a7c952977aebfcebc1 (patch) | |
| tree | dd1a367cf90533fad6ed1538cda75b65ca35bda3 /drivers/nfc | |
| parent | b461a88f2ee8c4ce735699159b6f423cf7648fab (diff) | |
| download | linux-next-57de5fb319810561e8fa50a7c952977aebfcebc1.tar.gz linux-next-57de5fb319810561e8fa50a7c952977aebfcebc1.zip | |
platform/surface: surfacepro3_button: Stop setting acpi_device_name()
The driver sets acpi_device_name() to initialize an input class device
name initialization and print a message on probe success, but the input
class device name can be set directly to the "Surface Pro 3/4 Buttons"
string literal and used for printing the message.
Make the driver do so, stop setting acpi_device_name() in it and drop
the symbol specifically defined for this purpose.
No intentional functional impact.
This will facilitate the removal of device_name from struct
acpi_device_pnp in the future.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Reviewed-by: Chen Yu <yu.c.chen@intel.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://patch.msgid.link/12927239.O9o76ZdvQC@rafael.j.wysocki
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Diffstat (limited to 'drivers/nfc')
0 files changed, 0 insertions, 0 deletions
