aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/utils.c
diff options
context:
space:
mode:
authorAndy Shevchenko <[email protected]>2019-03-28 17:17:29 +0000
committerRafael J. Wysocki <[email protected]>2019-04-01 09:00:16 +0000
commit257f9053c0204ea47491aa236004fd1226f75fa8 (patch)
tree37313a09aac2d47ff783e61dc27a000fabd6a5a7 /drivers/acpi/utils.c
parentASoC: Intel: cht_bsw_rt5672: Convert to use acpi_dev_get_first_match_dev() (diff)
downloadkernel-257f9053c0204ea47491aa236004fd1226f75fa8.tar.gz
kernel-257f9053c0204ea47491aa236004fd1226f75fa8.zip
ACPI / utils: Remove deprecated function since no user left
There is no more user of acpi_dev_get_first_match_name(), which is deprecated and has no user left, so, remove it for good. Signed-off-by: Andy Shevchenko <[email protected]> Reviewed-by: Mika Westerberg <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'drivers/acpi/utils.c')
-rw-r--r--drivers/acpi/utils.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/drivers/acpi/utils.c b/drivers/acpi/utils.c
index 5a2bae2b6c3a..89363b245489 100644
--- a/drivers/acpi/utils.c
+++ b/drivers/acpi/utils.c
@@ -835,22 +835,6 @@ acpi_dev_get_first_match_dev(const char *hid, const char *uid, s64 hrv)
}
EXPORT_SYMBOL(acpi_dev_get_first_match_dev);
-/* DEPRECATED, use acpi_dev_get_first_match_dev() instead */
-const char *
-acpi_dev_get_first_match_name(const char *hid, const char *uid, s64 hrv)
-{
- struct acpi_dev_match_info match = {};
- struct device *dev;
-
- strlcpy(match.hid[0].id, hid, sizeof(match.hid[0].id));
- match.uid = uid;
- match.hrv = hrv;
-
- dev = bus_find_device(&acpi_bus_type, NULL, &match, acpi_dev_match_cb);
- return dev ? match.dev_name : NULL;
-}
-EXPORT_SYMBOL(acpi_dev_get_first_match_name);
-
/*
* acpi_backlight= handling, this is done here rather then in video_detect.c
* because __setup cannot be used in modules.