diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2018-02-09 16:38:36 +0100 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2018-02-12 10:41:11 +0100 |
commit | 67dcc26d208ca5578f08c3c78cb254418c24e9ec (patch) | |
tree | dcc65393c997a911c41604c85a59cef328db9b07 /drivers/acpi/property.c | |
parent | ACPI / bus: Rename acpi_get_match_data() to acpi_device_get_match_data() (diff) | |
download | linux-67dcc26d208ca5578f08c3c78cb254418c24e9ec.tar.xz linux-67dcc26d208ca5578f08c3c78cb254418c24e9ec.zip |
device property: Constify device_get_match_data()
Constify device_get_match_data() as OF and ACPI variants return
constant value.
Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi/property.c')
-rw-r--r-- | drivers/acpi/property.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/property.c b/drivers/acpi/property.c index f9b5fa230a86..5815356ea6ad 100644 --- a/drivers/acpi/property.c +++ b/drivers/acpi/property.c @@ -1271,7 +1271,7 @@ static int acpi_fwnode_graph_parse_endpoint(const struct fwnode_handle *fwnode, return 0; } -static void * +static const void * acpi_fwnode_device_get_match_data(const struct fwnode_handle *fwnode, const struct device *dev) { |