These changes are the raw update to linux-4.4.6-rt14. Kernel sources
[kvmfornfv.git] / kernel / drivers / iio / light / hid-sensor-prox.c
index ef60bae..45ca056 100644 (file)
@@ -284,8 +284,7 @@ static int hid_prox_probe(struct platform_device *pdev)
                goto error_free_dev_mem;
        }
 
-       indio_dev->num_channels =
-                               ARRAY_SIZE(prox_channels);
+       indio_dev->num_channels = ARRAY_SIZE(prox_channels);
        indio_dev->dev.parent = &pdev->dev;
        indio_dev->info = &prox_info;
        indio_dev->name = name;
@@ -350,7 +349,7 @@ static int hid_prox_remove(struct platform_device *pdev)
        return 0;
 }
 
-static struct platform_device_id hid_prox_ids[] = {
+static const struct platform_device_id hid_prox_ids[] = {
        {
                /* Format: HID-SENSOR-usage_id_in_hex_lowercase */
                .name = "HID-SENSOR-200011",