Commit 9c40723e authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski Committed by Guenter Roeck

hwmon: (sht15) Constify platform_device_id

The platform_device_id is not modified by the driver and core uses it as
const.
Signed-off-by: default avatarKrzysztof Kozlowski <k.kozlowski.k@gmail.com>
Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
parent 9c2cbcec
...@@ -1074,7 +1074,7 @@ static int sht15_remove(struct platform_device *pdev) ...@@ -1074,7 +1074,7 @@ static int sht15_remove(struct platform_device *pdev)
return 0; return 0;
} }
static struct platform_device_id sht15_device_ids[] = { static const struct platform_device_id sht15_device_ids[] = {
{ "sht10", sht10 }, { "sht10", sht10 },
{ "sht11", sht11 }, { "sht11", sht11 },
{ "sht15", sht15 }, { "sht15", sht15 },
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment