iio: normalize array sentinel style
authorDavid Lechner <dlechner@baylibre.com>
Fri, 11 Apr 2025 20:49:34 +0000 (15:49 -0500)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Tue, 22 Apr 2025 18:10:04 +0000 (19:10 +0100)
Use `\t(\{ ?\},|\{\}|\{\s*/\*.*\*/\s*\},?)$` regex to find and replace
the array sentinel in all IIO drivers to the same style.

For some time, we've been trying to consistently use `{ }` (no trailing
comma, no comment, one space between braces) for array sentinels in the
IIO subsystem. Still nearly 50% of existing code uses a different style.
To save reviewers from having to request this trivial change as
frequently, let's normalize the style in all existing IIO drivers.
At least when code is copy/pasted to new drivers, the style will be
consistent.

Signed-off-by: David Lechner <dlechner@baylibre.com>
Reviewed-by: Andy Shevchenko <andy@kernel.org>
Link: https://patch.msgid.link/20250411-iio-sentinel-normalization-v1-1-d293de3e3d93@baylibre.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
287 files changed:
drivers/iio/accel/adxl367_i2c.c
drivers/iio/accel/adxl367_spi.c
drivers/iio/accel/adxl372_i2c.c
drivers/iio/accel/adxl372_spi.c
drivers/iio/accel/bma220_spi.c
drivers/iio/accel/bmc150-accel-i2c.c
drivers/iio/accel/bmc150-accel-spi.c
drivers/iio/accel/bmi088-accel-i2c.c
drivers/iio/accel/bmi088-accel-spi.c
drivers/iio/accel/da280.c
drivers/iio/accel/da311.c
drivers/iio/accel/dmard10.c
drivers/iio/accel/fxls8962af-i2c.c
drivers/iio/accel/fxls8962af-spi.c
drivers/iio/accel/hid-sensor-accel-3d.c
drivers/iio/accel/kxsd9-i2c.c
drivers/iio/accel/kxsd9-spi.c
drivers/iio/accel/kxsd9.c
drivers/iio/accel/mma7660.c
drivers/iio/accel/mma9551.c
drivers/iio/accel/mma9553.c
drivers/iio/accel/mxc4005.c
drivers/iio/accel/sca3000.c
drivers/iio/accel/sca3300.c
drivers/iio/accel/st_accel_i2c.c
drivers/iio/accel/st_accel_spi.c
drivers/iio/accel/stk8312.c
drivers/iio/accel/stk8ba50.c
drivers/iio/adc/ad7280a.c
drivers/iio/adc/ad7768-1.c
drivers/iio/adc/ad7791.c
drivers/iio/adc/ad799x.c
drivers/iio/adc/adi-axi-adc.c
drivers/iio/adc/axp20x_adc.c
drivers/iio/adc/axp288_adc.c
drivers/iio/adc/cpcap-adc.c
drivers/iio/adc/da9150-gpadc.c
drivers/iio/adc/envelope-detector.c
drivers/iio/adc/fsl-imx25-gcq.c
drivers/iio/adc/hi8435.c
drivers/iio/adc/imx7d_adc.c
drivers/iio/adc/imx8qxp-adc.c
drivers/iio/adc/imx93_adc.c
drivers/iio/adc/intel_mrfld_adc.c
drivers/iio/adc/lpc18xx_adc.c
drivers/iio/adc/ltc2471.c
drivers/iio/adc/max1363.c
drivers/iio/adc/max77541-adc.c
drivers/iio/adc/meson_saradc.c
drivers/iio/adc/mt6359-auxadc.c
drivers/iio/adc/mt6370-adc.c
drivers/iio/adc/npcm_adc.c
drivers/iio/adc/pac1921.c
drivers/iio/adc/palmas_gpadc.c
drivers/iio/adc/rcar-gyroadc.c
drivers/iio/adc/rn5t618-adc.c
drivers/iio/adc/rzg2l_adc.c
drivers/iio/adc/spear_adc.c
drivers/iio/adc/stm32-adc.c
drivers/iio/adc/stm32-dfsdm-adc.c
drivers/iio/adc/sun20i-gpadc-iio.c
drivers/iio/adc/sun4i-gpadc-iio.c
drivers/iio/adc/ti-lmp92064.c
drivers/iio/adc/twl6030-gpadc.c
drivers/iio/adc/vf610_adc.c
drivers/iio/adc/xilinx-xadc-core.c
drivers/iio/addac/ad74413r.c
drivers/iio/afe/iio-rescale.c
drivers/iio/amplifiers/ad8366.c
drivers/iio/amplifiers/ada4250.c
drivers/iio/amplifiers/hmc425a.c
drivers/iio/cdc/ad7150.c
drivers/iio/cdc/ad7746.c
drivers/iio/chemical/ags02ma.c
drivers/iio/chemical/atlas-ezo-sensor.c
drivers/iio/chemical/atlas-sensor.c
drivers/iio/chemical/bme680_i2c.c
drivers/iio/chemical/bme680_spi.c
drivers/iio/chemical/sunrise_co2.c
drivers/iio/common/cros_ec_sensors/cros_ec_lid_angle.c
drivers/iio/common/cros_ec_sensors/cros_ec_sensors.c
drivers/iio/common/cros_ec_sensors/cros_ec_sensors_core.c
drivers/iio/common/scmi_sensors/scmi_iio.c
drivers/iio/common/ssp_sensors/ssp_dev.c
drivers/iio/dac/ad5064.c
drivers/iio/dac/ad5360.c
drivers/iio/dac/ad5380.c
drivers/iio/dac/ad5446.c
drivers/iio/dac/ad5449.c
drivers/iio/dac/ad5504.c
drivers/iio/dac/ad5592r-base.c
drivers/iio/dac/ad5592r.c
drivers/iio/dac/ad5593r.c
drivers/iio/dac/ad5624r_spi.c
drivers/iio/dac/ad5686-spi.c
drivers/iio/dac/ad5686.c
drivers/iio/dac/ad5696-i2c.c
drivers/iio/dac/ad5755.c
drivers/iio/dac/ad5758.c
drivers/iio/dac/ad5761.c
drivers/iio/dac/ad5766.c
drivers/iio/dac/ad5770r.c
drivers/iio/dac/ad5791.c
drivers/iio/dac/ad7293.c
drivers/iio/dac/ad7303.c
drivers/iio/dac/ad8801.c
drivers/iio/dac/ad9739a.c
drivers/iio/dac/adi-axi-dac.c
drivers/iio/dac/dpot-dac.c
drivers/iio/dac/ds4424.c
drivers/iio/dac/lpc18xx_dac.c
drivers/iio/dac/ltc1660.c
drivers/iio/dac/ltc2632.c
drivers/iio/dac/ltc2688.c
drivers/iio/dac/max5522.c
drivers/iio/dac/max5821.c
drivers/iio/dac/mcp4725.c
drivers/iio/dac/mcp4728.c
drivers/iio/dac/mcp4821.c
drivers/iio/dac/mcp4922.c
drivers/iio/dac/stm32-dac-core.c
drivers/iio/dac/stm32-dac.c
drivers/iio/dac/ti-dac082s085.c
drivers/iio/dac/ti-dac5571.c
drivers/iio/dac/ti-dac7311.c
drivers/iio/dac/ti-dac7612.c
drivers/iio/dac/vf610_dac.c
drivers/iio/filter/admv8818.c
drivers/iio/frequency/ad9523.c
drivers/iio/frequency/adf4350.c
drivers/iio/frequency/adf4371.c
drivers/iio/frequency/adf4377.c
drivers/iio/frequency/admv1013.c
drivers/iio/frequency/admv1014.c
drivers/iio/frequency/adrf6780.c
drivers/iio/gyro/adis16080.c
drivers/iio/gyro/adis16260.c
drivers/iio/gyro/adxrs450.c
drivers/iio/gyro/bmg160_i2c.c
drivers/iio/gyro/bmg160_spi.c
drivers/iio/gyro/hid-sensor-gyro-3d.c
drivers/iio/gyro/mpu3050-core.c
drivers/iio/gyro/mpu3050-i2c.c
drivers/iio/gyro/st_gyro_i2c.c
drivers/iio/gyro/st_gyro_spi.c
drivers/iio/health/afe4403.c
drivers/iio/health/afe4404.c
drivers/iio/health/max30100.c
drivers/iio/health/max30102.c
drivers/iio/humidity/am2315.c
drivers/iio/humidity/hid-sensor-humidity.c
drivers/iio/humidity/hts221_i2c.c
drivers/iio/humidity/hts221_spi.c
drivers/iio/humidity/htu21.c
drivers/iio/imu/adis16400.c
drivers/iio/imu/adis16460.c
drivers/iio/imu/adis16475.c
drivers/iio/imu/adis16480.c
drivers/iio/imu/bmi160/bmi160_i2c.c
drivers/iio/imu/bmi160/bmi160_spi.c
drivers/iio/imu/inv_icm42600/inv_icm42600_accel.c
drivers/iio/imu/inv_icm42600/inv_icm42600_gyro.c
drivers/iio/imu/inv_icm42600/inv_icm42600_i2c.c
drivers/iio/imu/inv_icm42600/inv_icm42600_spi.c
drivers/iio/imu/inv_mpu6050/inv_mpu_acpi.c
drivers/iio/imu/inv_mpu6050/inv_mpu_i2c.c
drivers/iio/imu/inv_mpu6050/inv_mpu_spi.c
drivers/iio/imu/kmx61.c
drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_i2c.c
drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_i3c.c
drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_spi.c
drivers/iio/imu/st_lsm9ds0/st_lsm9ds0_i2c.c
drivers/iio/imu/st_lsm9ds0/st_lsm9ds0_spi.c
drivers/iio/light/acpi-als.c
drivers/iio/light/adux1020.c
drivers/iio/light/al3000a.c
drivers/iio/light/al3010.c
drivers/iio/light/al3320a.c
drivers/iio/light/apds9960.c
drivers/iio/light/bh1780.c
drivers/iio/light/cm3232.c
drivers/iio/light/cm3323.c
drivers/iio/light/cm3605.c
drivers/iio/light/cros_ec_light_prox.c
drivers/iio/light/gp2ap002.c
drivers/iio/light/hid-sensor-als.c
drivers/iio/light/hid-sensor-prox.c
drivers/iio/light/isl29018.c
drivers/iio/light/isl29028.c
drivers/iio/light/jsa1212.c
drivers/iio/light/ltr390.c
drivers/iio/light/ltr501.c
drivers/iio/light/ltrf216a.c
drivers/iio/light/opt4001.c
drivers/iio/light/pa12203001.c
drivers/iio/light/st_uvis25_i2c.c
drivers/iio/light/st_uvis25_spi.c
drivers/iio/light/stk3310.c
drivers/iio/light/tsl2563.c
drivers/iio/light/tsl2583.c
drivers/iio/light/tsl2591.c
drivers/iio/light/tsl2772.c
drivers/iio/light/us5182d.c
drivers/iio/light/vcnl4000.c
drivers/iio/light/veml6040.c
drivers/iio/light/veml6075.c
drivers/iio/light/vl6180.c
drivers/iio/magnetometer/ak8974.c
drivers/iio/magnetometer/ak8975.c
drivers/iio/magnetometer/als31300.c
drivers/iio/magnetometer/bmc150_magn_i2c.c
drivers/iio/magnetometer/bmc150_magn_spi.c
drivers/iio/magnetometer/hid-sensor-magn-3d.c
drivers/iio/magnetometer/hmc5843_i2c.c
drivers/iio/magnetometer/mmc35240.c
drivers/iio/magnetometer/st_magn_i2c.c
drivers/iio/magnetometer/st_magn_spi.c
drivers/iio/magnetometer/tmag5273.c
drivers/iio/magnetometer/yamaha-yas530.c
drivers/iio/multiplexer/iio-mux.c
drivers/iio/orientation/hid-sensor-incl-3d.c
drivers/iio/orientation/hid-sensor-rotation.c
drivers/iio/position/hid-sensor-custom-intel-hinge.c
drivers/iio/potentiometer/ad5272.c
drivers/iio/potentiometer/ds1803.c
drivers/iio/potentiometer/max5432.c
drivers/iio/potentiometer/max5487.c
drivers/iio/potentiometer/mcp4018.c
drivers/iio/potentiometer/mcp41010.c
drivers/iio/potentiometer/mcp4131.c
drivers/iio/potentiometer/mcp4531.c
drivers/iio/potentiometer/tpl0102.c
drivers/iio/potentiostat/lmp91000.c
drivers/iio/pressure/abp060mg.c
drivers/iio/pressure/bmp280-i2c.c
drivers/iio/pressure/bmp280-spi.c
drivers/iio/pressure/cros_ec_baro.c
drivers/iio/pressure/dlhl60d.c
drivers/iio/pressure/dps310.c
drivers/iio/pressure/hid-sensor-press.c
drivers/iio/pressure/hp03.c
drivers/iio/pressure/hp206c.c
drivers/iio/pressure/hsc030pa_i2c.c
drivers/iio/pressure/hsc030pa_spi.c
drivers/iio/pressure/mpl115_spi.c
drivers/iio/pressure/mprls0025pa_i2c.c
drivers/iio/pressure/mprls0025pa_spi.c
drivers/iio/pressure/ms5637.c
drivers/iio/pressure/rohm-bm1390.c
drivers/iio/pressure/st_pressure_i2c.c
drivers/iio/pressure/st_pressure_spi.c
drivers/iio/pressure/zpa2326_spi.c
drivers/iio/proximity/as3935.c
drivers/iio/proximity/cros_ec_mkbp_proximity.c
drivers/iio/proximity/hx9023s.c
drivers/iio/proximity/irsd200.c
drivers/iio/proximity/isl29501.c
drivers/iio/proximity/mb1232.c
drivers/iio/proximity/ping.c
drivers/iio/proximity/srf04.c
drivers/iio/proximity/srf08.c
drivers/iio/proximity/sx9310.c
drivers/iio/proximity/sx9324.c
drivers/iio/proximity/sx9500.c
drivers/iio/proximity/vcnl3020.c
drivers/iio/resolver/ad2s1200.c
drivers/iio/resolver/ad2s1210.c
drivers/iio/resolver/ad2s90.c
drivers/iio/temperature/hid-sensor-temperature.c
drivers/iio/temperature/ltc2983.c
drivers/iio/temperature/maxim_thermocouple.c
drivers/iio/temperature/mcp9600.c
drivers/iio/temperature/tmp007.c
drivers/iio/temperature/tsys01.c
drivers/iio/temperature/tsys02d.c
drivers/iio/test/iio-test-format.c
drivers/iio/test/iio-test-gts.c
drivers/iio/test/iio-test-rescale.c
drivers/iio/trigger/stm32-lptimer-trigger.c
drivers/iio/trigger/stm32-timer-trigger.c
drivers/staging/iio/accel/adis16203.c
drivers/staging/iio/adc/ad7816.c
drivers/staging/iio/addac/adt7316-i2c.c
drivers/staging/iio/frequency/ad9832.c
drivers/staging/iio/frequency/ad9834.c
drivers/staging/iio/impedance-analyzer/ad5933.c
tools/iio/iio_generic_buffer.c

index 80f0b64..1c7d2eb 100644 (file)
@@ -68,7 +68,7 @@ MODULE_DEVICE_TABLE(i2c, adxl367_i2c_id);
 
 static const struct of_device_id adxl367_of_match[] = {
        { .compatible = "adi,adxl367" },
-       { },
+       { }
 };
 MODULE_DEVICE_TABLE(of, adxl367_of_match);
 
index 49d7c8f..3fed56b 100644 (file)
@@ -139,13 +139,13 @@ static int adxl367_spi_probe(struct spi_device *spi)
 
 static const struct spi_device_id adxl367_spi_id[] = {
        { "adxl367", 0 },
-       { },
+       { }
 };
 MODULE_DEVICE_TABLE(spi, adxl367_spi_id);
 
 static const struct of_device_id adxl367_of_match[] = {
        { .compatible = "adi,adxl367" },
-       { },
+       { }
 };
 MODULE_DEVICE_TABLE(of, adxl367_of_match);
 
index 43d5fd9..186d4fe 100644 (file)
@@ -43,7 +43,7 @@ static int adxl372_i2c_probe(struct i2c_client *client)
 
 static const struct i2c_device_id adxl372_i2c_id[] = {
        { "adxl372" },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(i2c, adxl372_i2c_id);
 
index 1ab1997..39941b5 100644 (file)
@@ -34,7 +34,7 @@ static int adxl372_spi_probe(struct spi_device *spi)
 
 static const struct spi_device_id adxl372_spi_id[] = {
        { "adxl372", 0 },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(spi, adxl372_spi_id);
 
index 96ba028..978108f 100644 (file)
@@ -307,12 +307,12 @@ static DEFINE_SIMPLE_DEV_PM_OPS(bma220_pm_ops, bma220_suspend, bma220_resume);
 
 static const struct spi_device_id bma220_spi_id[] = {
        {"bma220", 0},
-       {}
+       { }
 };
 
 static const struct acpi_device_id bma220_acpi_id[] = {
        {"BMA0220", 0},
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(spi, bma220_spi_id);
 
index 0d4ce6c..b4604f4 100644 (file)
@@ -240,7 +240,7 @@ static const struct acpi_device_id bmc150_accel_acpi_match[] = {
        {"BOSC0200"},
        {"BSBA0150"},
        {"DUAL250E"},
-       { },
+       { }
 };
 MODULE_DEVICE_TABLE(acpi, bmc150_accel_acpi_match);
 
@@ -255,7 +255,7 @@ static const struct i2c_device_id bmc150_accel_id[] = {
        {"bmc150_accel"},
        {"bmc156_accel", BOSCH_BMC156},
        {"bmi055_accel"},
-       {}
+       { }
 };
 
 MODULE_DEVICE_TABLE(i2c, bmc150_accel_id);
@@ -271,7 +271,7 @@ static const struct of_device_id bmc150_accel_of_match[] = {
        { .compatible = "bosch,bmc150_accel" },
        { .compatible = "bosch,bmc156_accel" },
        { .compatible = "bosch,bmi055_accel" },
-       { },
+       { }
 };
 MODULE_DEVICE_TABLE(of, bmc150_accel_of_match);
 
index 70b3642..26ce50b 100644 (file)
@@ -48,7 +48,7 @@ static const struct acpi_device_id bmc150_accel_acpi_match[] = {
        {"BMC150A"},
        {"BMI055A"},
        {"BSBA0150"},
-       { },
+       { }
 };
 MODULE_DEVICE_TABLE(acpi, bmc150_accel_acpi_match);
 
@@ -62,7 +62,7 @@ static const struct spi_device_id bmc150_accel_id[] = {
        {"bmc150_accel"},
        {"bmc156_accel", BOSCH_BMC156},
        {"bmi055_accel"},
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(spi, bmc150_accel_id);
 
index bd22bd0..310f863 100644 (file)
@@ -40,7 +40,7 @@ static const struct of_device_id bmi088_of_match[] = {
        { .compatible = "bosch,bmi085-accel" },
        { .compatible = "bosch,bmi088-accel" },
        { .compatible = "bosch,bmi090l-accel" },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(of, bmi088_of_match);
 
@@ -48,7 +48,7 @@ static const struct i2c_device_id bmi088_accel_id[] = {
        { "bmi085-accel",  BOSCH_BMI085 },
        { "bmi088-accel",  BOSCH_BMI088 },
        { "bmi090l-accel", BOSCH_BMI090L },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(i2c, bmi088_accel_id);
 
index c9d51a7..44cb50c 100644 (file)
@@ -67,7 +67,7 @@ static const struct of_device_id bmi088_of_match[] = {
        { .compatible = "bosch,bmi085-accel" },
        { .compatible = "bosch,bmi088-accel" },
        { .compatible = "bosch,bmi090l-accel" },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(of, bmi088_of_match);
 
@@ -75,7 +75,7 @@ static const struct spi_device_id bmi088_accel_id[] = {
        {"bmi085-accel",  BOSCH_BMI085},
        {"bmi088-accel",  BOSCH_BMI088},
        {"bmi090l-accel", BOSCH_BMI090L},
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(spi, bmi088_accel_id);
 
index 9922868..c2dd123 100644 (file)
@@ -157,7 +157,7 @@ static const struct da280_match_data da280_match_data = { "da280", 3 };
 static const struct acpi_device_id da280_acpi_match[] = {
        { "NSA2513", (kernel_ulong_t)&da217_match_data },
        { "MIRAACC", (kernel_ulong_t)&da280_match_data },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(acpi, da280_acpi_match);
 
@@ -165,7 +165,7 @@ static const struct i2c_device_id da280_i2c_id[] = {
        { "da217", (kernel_ulong_t)&da217_match_data },
        { "da226", (kernel_ulong_t)&da226_match_data },
        { "da280", (kernel_ulong_t)&da280_match_data },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(i2c, da280_i2c_id);
 
index 94f827a..e1df7b0 100644 (file)
@@ -269,7 +269,7 @@ static DEFINE_SIMPLE_DEV_PM_OPS(da311_pm_ops, da311_suspend, da311_resume);
 
 static const struct i2c_device_id da311_i2c_id[] = {
        { "da311" },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(i2c, da311_i2c_id);
 
index 35c0eef..71cd192 100644 (file)
@@ -232,7 +232,7 @@ static DEFINE_SIMPLE_DEV_PM_OPS(dmard10_pm_ops, dmard10_suspend,
 
 static const struct i2c_device_id dmard10_i2c_id[] = {
        { "dmard10" },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(i2c, dmard10_i2c_id);
 
index 1b9156b..106198a 100644 (file)
@@ -32,14 +32,14 @@ static const struct i2c_device_id fxls8962af_id[] = {
        { "fxls8964af", fxls8964af },
        { "fxls8967af", fxls8967af },
        { "fxls8974cf", fxls8974cf },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(i2c, fxls8962af_id);
 
 static const struct of_device_id fxls8962af_of_match[] = {
        { .compatible = "nxp,fxls8962af" },
        { .compatible = "nxp,fxls8964af" },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(of, fxls8962af_of_match);
 
index 46fc6e0..bdafd1f 100644 (file)
@@ -30,14 +30,14 @@ static int fxls8962af_probe(struct spi_device *spi)
 static const struct of_device_id fxls8962af_spi_of_match[] = {
        { .compatible = "nxp,fxls8962af" },
        { .compatible = "nxp,fxls8964af" },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(of, fxls8962af_spi_of_match);
 
 static const struct spi_device_id fxls8962af_spi_id_table[] = {
        { "fxls8962af", fxls8962af },
        { "fxls8964af", fxls8964af },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(spi, fxls8962af_spi_id_table);
 
index 078fab2..3214506 100644 (file)
@@ -440,7 +440,7 @@ static const struct platform_device_id hid_accel_3d_ids[] = {
        {       /* gravity sensor */
                .name = "HID-SENSOR-20007b",
        },
-       { /* sentinel */ }
+       { }
 };
 MODULE_DEVICE_TABLE(platform, hid_accel_3d_ids);
 
index 3857d2e..1fa88b9 100644 (file)
@@ -38,7 +38,7 @@ static void kxsd9_i2c_remove(struct i2c_client *client)
 
 static const struct of_device_id kxsd9_of_match[] = {
        { .compatible = "kionix,kxsd9", },
-       { },
+       { }
 };
 MODULE_DEVICE_TABLE(of, kxsd9_of_match);
 
index a05f446..cbb6c64 100644 (file)
@@ -38,7 +38,7 @@ static void kxsd9_spi_remove(struct spi_device *spi)
 
 static const struct spi_device_id kxsd9_spi_id[] = {
        {"kxsd9", 0},
-       { },
+       { }
 };
 MODULE_DEVICE_TABLE(spi, kxsd9_spi_id);
 
index 0ededf8..fb14b87 100644 (file)
@@ -273,7 +273,7 @@ kxsd9_get_mount_matrix(const struct iio_dev *indio_dev,
 
 static const struct iio_chan_spec_ext_info kxsd9_ext_info[] = {
        IIO_MOUNT_MATRIX(IIO_SHARED_BY_TYPE, kxsd9_get_mount_matrix),
-       { },
+       { }
 };
 
 #define KXSD9_ACCEL_CHAN(axis, index)                                          \
index 2894aff..d0a16f2 100644 (file)
@@ -262,7 +262,7 @@ static DEFINE_SIMPLE_DEV_PM_OPS(mma7660_pm_ops, mma7660_suspend,
 
 static const struct i2c_device_id mma7660_i2c_id[] = {
        { "mma7660" },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(i2c, mma7660_i2c_id);
 
@@ -274,7 +274,7 @@ MODULE_DEVICE_TABLE(of, mma7660_of_match);
 
 static const struct acpi_device_id mma7660_acpi_id[] = {
        {"MMA7660", 0},
-       {}
+       { }
 };
 
 MODULE_DEVICE_TABLE(acpi, mma7660_acpi_id);
index 1b96687..b89bad9 100644 (file)
@@ -578,14 +578,14 @@ static const struct dev_pm_ops mma9551_pm_ops = {
 
 static const struct acpi_device_id mma9551_acpi_match[] = {
        {"MMA9551", 0},
-       {},
+       { }
 };
 
 MODULE_DEVICE_TABLE(acpi, mma9551_acpi_match);
 
 static const struct i2c_device_id mma9551_id[] = {
        { "mma9551" },
-       {}
+       { }
 };
 
 MODULE_DEVICE_TABLE(i2c, mma9551_id);
index 00e224e..1bbe660 100644 (file)
@@ -919,7 +919,7 @@ static const struct iio_enum mma9553_calibgender_enum = {
 static const struct iio_chan_spec_ext_info mma9553_ext_info[] = {
        IIO_ENUM("calibgender", IIO_SHARED_BY_TYPE, &mma9553_calibgender_enum),
        IIO_ENUM_AVAILABLE("calibgender", IIO_SHARED_BY_TYPE, &mma9553_calibgender_enum),
-       {},
+       { }
 };
 
 #define MMA9553_PEDOMETER_CHANNEL(_type, _mask) {              \
@@ -1216,14 +1216,14 @@ static const struct dev_pm_ops mma9553_pm_ops = {
 
 static const struct acpi_device_id mma9553_acpi_match[] = {
        {"MMA9553", 0},
-       {},
+       { }
 };
 
 MODULE_DEVICE_TABLE(acpi, mma9553_acpi_match);
 
 static const struct i2c_device_id mma9553_id[] = {
        { "mma9553" },
-       {}
+       { }
 };
 
 MODULE_DEVICE_TABLE(i2c, mma9553_id);
index cb5c4e3..c9c4bab 100644 (file)
@@ -573,14 +573,14 @@ static const struct acpi_device_id mxc4005_acpi_match[] = {
        {"MXC4005",     0},
        {"MXC6655",     0},
        {"MDA6655",     0},
-       { },
+       { }
 };
 MODULE_DEVICE_TABLE(acpi, mxc4005_acpi_match);
 
 static const struct of_device_id mxc4005_of_match[] = {
        { .compatible = "memsic,mxc4005", },
        { .compatible = "memsic,mxc6655", },
-       { },
+       { }
 };
 MODULE_DEVICE_TABLE(of, mxc4005_of_match);
 
index 3fb0f38..aabe449 100644 (file)
@@ -1541,7 +1541,7 @@ static const struct spi_device_id sca3000_id[] = {
        {"sca3000_e02", e02},
        {"sca3000_e04", e04},
        {"sca3000_e05", e05},
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(spi, sca3000_id);
 
index ca0ce83..9b00a3d 100644 (file)
@@ -674,14 +674,14 @@ static int sca3300_probe(struct spi_device *spi)
 static const struct of_device_id sca3300_dt_ids[] = {
        { .compatible = "murata,sca3300"},
        { .compatible = "murata,scl3300"},
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(of, sca3300_dt_ids);
 
 static const struct spi_device_id sca3300_ids[] = {
        { "sca3300" },
        { "scl3300" },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(spi, sca3300_ids);
 
index ab4fdba..f244495 100644 (file)
@@ -126,14 +126,14 @@ static const struct of_device_id st_accel_of_match[] = {
                .compatible = "st,iis328dq",
                .data = IIS328DQ_ACCEL_DEV_NAME,
        },
-       {},
+       { }
 };
 MODULE_DEVICE_TABLE(of, st_accel_of_match);
 
 static const struct acpi_device_id st_accel_acpi_match[] = {
        {"SMO8840", (kernel_ulong_t)LIS2DH12_ACCEL_DEV_NAME},
        {"SMO8A90", (kernel_ulong_t)LNG2DM_ACCEL_DEV_NAME},
-       { },
+       { }
 };
 MODULE_DEVICE_TABLE(acpi, st_accel_acpi_match);
 
@@ -164,7 +164,7 @@ static const struct i2c_device_id st_accel_id_table[] = {
        { LSM303C_ACCEL_DEV_NAME },
        { SC7A20_ACCEL_DEV_NAME },
        { IIS328DQ_ACCEL_DEV_NAME },
-       {},
+       { }
 };
 MODULE_DEVICE_TABLE(i2c, st_accel_id_table);
 
index 6146754..d8ec055 100644 (file)
@@ -108,7 +108,7 @@ static const struct of_device_id st_accel_of_match[] = {
                .compatible = "st,iis328dq",
                .data = IIS328DQ_ACCEL_DEV_NAME,
        },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(of, st_accel_of_match);
 
@@ -167,7 +167,7 @@ static const struct spi_device_id st_accel_id_table[] = {
        { LIS302DL_ACCEL_DEV_NAME },
        { LSM303C_ACCEL_DEV_NAME },
        { IIS328DQ_ACCEL_DEV_NAME },
-       {},
+       { }
 };
 MODULE_DEVICE_TABLE(spi, st_accel_id_table);
 
index 471c154..d3ff128 100644 (file)
@@ -635,7 +635,7 @@ static const struct i2c_device_id stk8312_i2c_id[] = {
        /* Deprecated in favour of lowercase form */
        { "STK8312" },
        { "stk8312" },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(i2c, stk8312_i2c_id);
 
index cab592a..e5fed3e 100644 (file)
@@ -526,13 +526,13 @@ static DEFINE_SIMPLE_DEV_PM_OPS(stk8ba50_pm_ops, stk8ba50_suspend,
 
 static const struct i2c_device_id stk8ba50_i2c_id[] = {
        { "stk8ba50" },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(i2c, stk8ba50_i2c_id);
 
 static const struct acpi_device_id stk8ba50_acpi_id[] = {
        {"STK8BA50", 0},
-       {}
+       { }
 };
 
 MODULE_DEVICE_TABLE(acpi, stk8ba50_acpi_id);
index f9f3273..dda2986 100644 (file)
@@ -572,7 +572,7 @@ static const struct iio_chan_spec_ext_info ad7280_cell_ext_info[] = {
                .write = ad7280_store_balance_timer,
                .shared = IIO_SEPARATE,
        },
-       {}
+       { }
 };
 
 static const struct iio_event_spec ad7280_events[] = {
index 66087fa..09e4ab7 100644 (file)
@@ -736,7 +736,7 @@ static int ad7768_probe(struct spi_device *spi)
 
 static const struct spi_device_id ad7768_id_table[] = {
        { "ad7768-1", 0 },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(spi, ad7768_id_table);
 
index 597c268..041fc25 100644 (file)
@@ -464,7 +464,7 @@ static const struct spi_device_id ad7791_spi_ids[] = {
        { "ad7789", AD7789 },
        { "ad7790", AD7790 },
        { "ad7791", AD7791 },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(spi, ad7791_spi_ids);
 
index 993f465..9c02f91 100644 (file)
@@ -958,7 +958,7 @@ static const struct i2c_device_id ad799x_id[] = {
        { "ad7994", ad7994 },
        { "ad7997", ad7997 },
        { "ad7998", ad7998 },
-       {}
+       { }
 };
 
 MODULE_DEVICE_TABLE(i2c, ad799x_id);
index cf942c0..4116c44 100644 (file)
@@ -702,7 +702,7 @@ static const struct of_device_id adi_axi_adc_of_match[] = {
        { .compatible = "adi,axi-adc-10.0.a", .data = &adc_generic },
        { .compatible = "adi,axi-ad485x", .data = &adi_axi_ad485x },
        { .compatible = "adi,axi-ad7606x", .data = &adc_ad7606 },
-       { /* end of list */ }
+       { }
 };
 MODULE_DEVICE_TABLE(of, adi_axi_adc_of_match);
 
index 9fd7027..71584ff 100644 (file)
@@ -163,14 +163,14 @@ static const struct iio_map axp20x_maps[] = {
        IIO_MAP("batt_v", "axp20x-battery-power-supply", "batt_v"),
        IIO_MAP("batt_chrg_i", "axp20x-battery-power-supply", "batt_chrg_i"),
        IIO_MAP("batt_dischrg_i", "axp20x-battery-power-supply", "batt_dischrg_i"),
-       { /* sentinel */ }
+       { }
 };
 
 static const struct iio_map axp22x_maps[] = {
        IIO_MAP("batt_v", "axp20x-battery-power-supply", "batt_v"),
        IIO_MAP("batt_chrg_i", "axp20x-battery-power-supply", "batt_chrg_i"),
        IIO_MAP("batt_dischrg_i", "axp20x-battery-power-supply", "batt_dischrg_i"),
-       { /* sentinel */ }
+       { }
 };
 
 static struct iio_map axp717_maps[] = {
@@ -1074,7 +1074,7 @@ static const struct of_device_id axp20x_adc_of_match[] = {
        { .compatible = "x-powers,axp221-adc", .data = (void *)&axp22x_data, },
        { .compatible = "x-powers,axp717-adc", .data = (void *)&axp717_data, },
        { .compatible = "x-powers,axp813-adc", .data = (void *)&axp813_data, },
-       { /* sentinel */ }
+       { }
 };
 MODULE_DEVICE_TABLE(of, axp20x_adc_of_match);
 
@@ -1084,7 +1084,7 @@ static const struct platform_device_id axp20x_adc_id_match[] = {
        { .name = "axp22x-adc", .driver_data = (kernel_ulong_t)&axp22x_data, },
        { .name = "axp717-adc", .driver_data = (kernel_ulong_t)&axp717_data, },
        { .name = "axp813-adc", .driver_data = (kernel_ulong_t)&axp813_data, },
-       { /* sentinel */ },
+       { }
 };
 MODULE_DEVICE_TABLE(platform, axp20x_adc_id_match);
 
index 45542ef..c828327 100644 (file)
@@ -110,7 +110,7 @@ static const struct iio_map axp288_adc_default_maps[] = {
        IIO_MAP("BATT_CHG_I", "axp288-chrg", "axp288-chrg-curr"),
        IIO_MAP("BATT_DISCHRG_I", "axp288-chrg", "axp288-chrg-d-curr"),
        IIO_MAP("BATT_V", "axp288-batt", "axp288-batt-volt"),
-       {},
+       { }
 };
 
 static int axp288_adc_read_channel(int *val, unsigned long address,
@@ -207,7 +207,7 @@ static const struct dmi_system_id axp288_adc_ts_bias_override[] = {
                },
                .driver_data = (void *)(uintptr_t)AXP288_ADC_TS_BIAS_80UA,
        },
-       {}
+       { }
 };
 
 static int axp288_adc_initialize(struct axp288_adc_info *info)
index c218acf..ba7cbd3 100644 (file)
@@ -942,7 +942,7 @@ static const struct of_device_id cpcap_adc_id_table[] = {
                .compatible = "motorola,mapphone-cpcap-adc",
                .data = &mapphone_adc,
        },
-       { /* sentinel */ },
+       { }
 };
 MODULE_DEVICE_TABLE(of, cpcap_adc_id_table);
 
index 0290345..b99291c 100644 (file)
@@ -296,7 +296,7 @@ static const struct iio_map da9150_gpadc_default_maps[] = {
        IIO_MAP("VBUS", "da9150-charger", "CHAN_VBUS"),
        IIO_MAP("TJUNC_CORE", "da9150-charger", "CHAN_TJUNC"),
        IIO_MAP("VBAT", "da9150-charger", "CHAN_VBAT"),
-       {},
+       { }
 };
 
 static int da9150_gpadc_probe(struct platform_device *pdev)
index e911c25..5b16fe7 100644 (file)
@@ -305,7 +305,7 @@ static const struct iio_chan_spec_ext_info envelope_detector_ext_info[] = {
        { .name = "compare_interval",
          .read = envelope_show_comp_interval,
          .write = envelope_store_comp_interval, },
-       { /* sentinel */ }
+       { }
 };
 
 static const struct iio_chan_spec envelope_detector_iio_channel = {
@@ -390,7 +390,7 @@ static int envelope_detector_probe(struct platform_device *pdev)
 
 static const struct of_device_id envelope_detector_match[] = {
        { .compatible = "axentia,tse850-envelope-detector", },
-       { /* sentinel */ }
+       { }
 };
 MODULE_DEVICE_TABLE(of, envelope_detector_match);
 
index b3f0375..f8c220f 100644 (file)
@@ -372,7 +372,7 @@ static int mx25_gcq_probe(struct platform_device *pdev)
 
 static const struct of_device_id mx25_gcq_ids[] = {
        { .compatible = "fsl,imx25-gcq", },
-       { /* Sentinel */ }
+       { }
 };
 MODULE_DEVICE_TABLE(of, mx25_gcq_ids);
 
index 689e34f..b4562aa 100644 (file)
@@ -351,7 +351,7 @@ static const struct iio_enum hi8435_sensing_mode = {
 static const struct iio_chan_spec_ext_info hi8435_ext_info[] = {
        IIO_ENUM("sensing_mode", IIO_SEPARATE, &hi8435_sensing_mode),
        IIO_ENUM_AVAILABLE("sensing_mode", IIO_SHARED_BY_TYPE, &hi8435_sensing_mode),
-       {},
+       { }
 };
 
 #define HI8435_VOLTAGE_CHANNEL(num)                    \
index 828d3fe..09ce71f 100644 (file)
@@ -413,7 +413,7 @@ static const struct iio_info imx7d_adc_iio_info = {
 
 static const struct of_device_id imx7d_adc_match[] = {
        { .compatible = "fsl,imx7d-adc", },
-       { /* sentinel */ }
+       { }
 };
 MODULE_DEVICE_TABLE(of, imx7d_adc_match);
 
index 3d19d7d..be13a6e 100644 (file)
@@ -481,7 +481,7 @@ static DEFINE_RUNTIME_DEV_PM_OPS(imx8qxp_adc_pm_ops,
 
 static const struct of_device_id imx8qxp_adc_match[] = {
        { .compatible = "nxp,imx8qxp-adc", },
-       { /* sentinel */ }
+       { }
 };
 MODULE_DEVICE_TABLE(of, imx8qxp_adc_match);
 
index 002eb19..7feaafd 100644 (file)
@@ -464,7 +464,7 @@ static DEFINE_RUNTIME_DEV_PM_OPS(imx93_adc_pm_ops,
 
 static const struct of_device_id imx93_adc_match[] = {
        { .compatible = "nxp,imx93-adc", },
-       { /* sentinel */ }
+       { }
 };
 MODULE_DEVICE_TABLE(of, imx93_adc_match);
 
index c178850..101c1a0 100644 (file)
@@ -174,7 +174,7 @@ static const struct iio_map iio_maps[] = {
        IIO_MAP("CH6", "bcove-temp",    "SYSTEMP0"),
        IIO_MAP("CH7", "bcove-temp",    "SYSTEMP1"),
        IIO_MAP("CH8", "bcove-temp",    "SYSTEMP2"),
-       {}
+       { }
 };
 
 static int mrfld_adc_probe(struct platform_device *pdev)
@@ -222,7 +222,7 @@ static int mrfld_adc_probe(struct platform_device *pdev)
 
 static const struct platform_device_id mrfld_adc_id_table[] = {
        { .name = "mrfld_bcove_adc" },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(platform, mrfld_adc_id_table);
 
index 450a243..7e5d181 100644 (file)
@@ -188,7 +188,7 @@ static int lpc18xx_adc_probe(struct platform_device *pdev)
 
 static const struct of_device_id lpc18xx_adc_match[] = {
        { .compatible = "nxp,lpc1850-adc" },
-       { /* sentinel */ }
+       { }
 };
 MODULE_DEVICE_TABLE(of, lpc18xx_adc_match);
 
index 97c417c..a579107 100644 (file)
@@ -138,7 +138,7 @@ static int ltc2471_i2c_probe(struct i2c_client *client)
 static const struct i2c_device_id ltc2471_i2c_id[] = {
        { "ltc2471", ltc2471 },
        { "ltc2473", ltc2473 },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(i2c, ltc2471_i2c_id);
 
index 35717ec..d0546c6 100644 (file)
@@ -1551,7 +1551,7 @@ static const struct of_device_id max1363_of_match[] = {
        MAX1363_COMPATIBLE("maxim,max11645", max11645),
        MAX1363_COMPATIBLE("maxim,max11646", max11646),
        MAX1363_COMPATIBLE("maxim,max11647", max11647),
-       { /* sentinel */ }
+       { }
 };
 MODULE_DEVICE_TABLE(of, max1363_of_match);
 
@@ -1672,7 +1672,7 @@ static const struct i2c_device_id max1363_id[] = {
        MAX1363_ID_TABLE("max11645", max11645),
        MAX1363_ID_TABLE("max11646", max11646),
        MAX1363_ID_TABLE("max11647", max11647),
-       { /* sentinel */ }
+       { }
 };
 
 MODULE_DEVICE_TABLE(i2c, max1363_id);
index 21d024b..0aa04d1 100644 (file)
@@ -176,7 +176,7 @@ static int max77541_adc_probe(struct platform_device *pdev)
 
 static const struct platform_device_id max77541_adc_platform_id[] = {
        { "max77541-adc" },
-       { /* sentinel */ }
+       { }
 };
 MODULE_DEVICE_TABLE(platform, max77541_adc_platform_id);
 
index c0f2a2e..4ff8860 100644 (file)
@@ -1342,7 +1342,7 @@ static const struct of_device_id meson_sar_adc_of_match[] = {
                .compatible = "amlogic,meson-g12a-saradc",
                .data = &meson_sar_adc_g12a_data,
        },
-       { /* sentinel */ }
+       { }
 };
 MODULE_DEVICE_TABLE(of, meson_sar_adc_of_match);
 
index a4970cf..eecf88b 100644 (file)
@@ -588,7 +588,7 @@ static const struct of_device_id mt6359_auxadc_of_match[] = {
        { .compatible = "mediatek,mt6357-auxadc", .data = &mt6357_chip_info },
        { .compatible = "mediatek,mt6358-auxadc", .data = &mt6358_chip_info },
        { .compatible = "mediatek,mt6359-auxadc", .data = &mt6359_chip_info },
-       { /* sentinel */ }
+       { }
 };
 MODULE_DEVICE_TABLE(of, mt6359_auxadc_of_match);
 
index 0bc1121..7c71fe5 100644 (file)
@@ -336,7 +336,7 @@ static int mt6370_adc_probe(struct platform_device *pdev)
 
 static const struct of_device_id mt6370_adc_of_id[] = {
        { .compatible = "mediatek,mt6370-adc", },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(of, mt6370_adc_of_id);
 
index 7c1511e..c828387 100644 (file)
@@ -196,7 +196,7 @@ static const struct iio_info npcm_adc_iio_info = {
 static const struct of_device_id npcm_adc_match[] = {
        { .compatible = "nuvoton,npcm750-adc", .data = &npxm7xx_adc_info},
        { .compatible = "nuvoton,npcm845-adc", .data = &npxm8xx_adc_info},
-       { /* sentinel */ }
+       { }
 };
 MODULE_DEVICE_TABLE(of, npcm_adc_match);
 
index beb5511..ef75e9e 100644 (file)
@@ -900,7 +900,7 @@ static ssize_t pac1921_read_scale_avail(struct iio_dev *indio_dev,
 
 static const struct iio_chan_spec_ext_info pac1921_ext_info_voltage[] = {
        PAC1921_EXT_INFO_SCALE_AVAIL,
-       {}
+       { }
 };
 
 static const struct iio_chan_spec_ext_info pac1921_ext_info_current[] = {
@@ -911,7 +911,7 @@ static const struct iio_chan_spec_ext_info pac1921_ext_info_current[] = {
                .write = pac1921_write_shunt_resistor,
                .shared = IIO_SEPARATE,
        },
-       {}
+       { }
 };
 
 static const struct iio_event_spec pac1921_overflow_event[] = {
index d283ee8..7c01e33 100644 (file)
@@ -1164,7 +1164,7 @@ static DEFINE_SIMPLE_DEV_PM_OPS(palmas_pm_ops, palmas_gpadc_suspend,
 
 static const struct of_device_id of_palmas_gpadc_match_tbl[] = {
        { .compatible = "ti,palmas-gpadc", },
-       { /* end */ }
+       { }
 };
 MODULE_DEVICE_TABLE(of, of_palmas_gpadc_match_tbl);
 
index 221c075..cc326f2 100644 (file)
@@ -307,7 +307,7 @@ static const struct of_device_id rcar_gyroadc_child_match[] __maybe_unused = {
                .compatible     = "maxim,max11100",
                .data           = (void *)RCAR_GYROADC_MODE_SELECT_3_MAX1162,
        },
-       { /* sentinel */ }
+       { }
 };
 
 static int rcar_gyroadc_parse_subdevs(struct iio_dev *indio_dev)
index b335361..d6f6b35 100644 (file)
@@ -188,7 +188,7 @@ static const struct iio_chan_spec rn5t618_adc_iio_channels[] = {
 static const struct iio_map rn5t618_maps[] = {
        IIO_MAP("VADP", "rn5t618-power", "vadp"),
        IIO_MAP("VUSB", "rn5t618-power", "vusb"),
-       { /* sentinel */ }
+       { }
 };
 
 static int rn5t618_adc_probe(struct platform_device *pdev)
index 8097e59..9674d48 100644 (file)
@@ -507,7 +507,7 @@ static const struct rzg2l_adc_hw_params rzg3s_hw_params = {
 static const struct of_device_id rzg2l_adc_match[] = {
        { .compatible = "renesas,r9a08g045-adc", .data = &rzg3s_hw_params },
        { .compatible = "renesas,rzg2l-adc", .data = &rzg2l_hw_params },
-       { /* sentinel */ }
+       { }
 };
 MODULE_DEVICE_TABLE(of, rzg2l_adc_match);
 
index b6dd096..e3a865c 100644 (file)
@@ -345,7 +345,7 @@ static int spear_adc_probe(struct platform_device *pdev)
 
 static const struct of_device_id spear_adc_dt_ids[] = {
        { .compatible = "st,spear600-adc", },
-       { /* sentinel */ }
+       { }
 };
 MODULE_DEVICE_TABLE(of, spear_adc_dt_ids);
 
index 5dbf5f1..27aec9a 100644 (file)
@@ -469,7 +469,7 @@ static struct stm32_adc_trig_info stm32h7_adc_trigs[] = {
        { LPTIM1_OUT, STM32_EXT18 },
        { LPTIM2_OUT, STM32_EXT19 },
        { LPTIM3_OUT, STM32_EXT20 },
-       {},
+       { }
 };
 
 /*
@@ -1876,7 +1876,7 @@ static const struct iio_chan_spec_ext_info stm32_adc_ext_info[] = {
                .read = iio_enum_available_read,
                .private = (uintptr_t)&stm32_adc_trig_pol,
        },
-       {},
+       { }
 };
 
 static void stm32_adc_debugfs_init(struct iio_dev *indio_dev)
index 726ddaf..f583924 100644 (file)
@@ -108,7 +108,7 @@ static const struct stm32_dfsdm_str2field stm32_dfsdm_chan_type[] = {
        { "SPI_F", 1 }, /* SPI with data on falling edge */
        { "MANCH_R", 2 }, /* Manchester codec, rising edge = logic 0 */
        { "MANCH_F", 3 }, /* Manchester codec, falling edge = logic 1 */
-       {},
+       { }
 };
 
 /* DFSDM channel clock source */
@@ -121,7 +121,7 @@ static const struct stm32_dfsdm_str2field stm32_dfsdm_chan_src[] = {
        { "CLKOUT_F", DFSDM_CHANNEL_SPI_CLOCK_INTERNAL_DIV2_FALLING },
        /* Internal SPI clock divided by 2 (falling edge) */
        { "CLKOUT_R", DFSDM_CHANNEL_SPI_CLOCK_INTERNAL_DIV2_RISING },
-       {},
+       { }
 };
 
 static int stm32_dfsdm_str2val(const char *str,
@@ -167,7 +167,7 @@ static const struct stm32_dfsdm_trig_info stm32_dfsdm_trigs[] = {
        { LPTIM1_OUT, 26 },
        { LPTIM2_OUT, 27 },
        { LPTIM3_OUT, 28 },
-       {},
+       { }
 };
 
 static int stm32_dfsdm_get_jextsel(struct iio_dev *indio_dev,
@@ -1747,7 +1747,7 @@ static const struct of_device_id stm32_dfsdm_adc_match[] = {
                .compatible = "st,stm32-dfsdm-dmic",
                .data = &stm32h7_dfsdm_audio_data,
        },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(of, stm32_dfsdm_adc_match);
 
index 2428ea6..e4dfe76 100644 (file)
@@ -243,7 +243,7 @@ static int sun20i_gpadc_probe(struct platform_device *pdev)
 
 static const struct of_device_id sun20i_gpadc_of_id[] = {
        { .compatible = "allwinner,sun20i-d1-gpadc" },
-       { /* sentinel */ }
+       { }
 };
 MODULE_DEVICE_TABLE(of, sun20i_gpadc_of_id);
 
index 8b27458..6b8d6be 100644 (file)
@@ -116,7 +116,7 @@ struct sun4i_gpadc_iio {
 
 static const struct iio_map sun4i_gpadc_hwmon_maps[] = {
        IIO_MAP("temp_adc", "iio_hwmon.0", NULL),
-       { /* sentinel */ },
+       { }
 };
 
 static const struct iio_chan_spec sun4i_gpadc_channels[] = {
@@ -485,7 +485,7 @@ static const struct of_device_id sun4i_gpadc_of_id[] = {
                .compatible = "allwinner,sun8i-a33-ths",
                .data = &sun8i_a33_gpadc_data,
        },
-       { /* sentinel */ }
+       { }
 };
 
 static int sun4i_gpadc_probe_dt(struct platform_device *pdev,
@@ -685,7 +685,7 @@ static const struct platform_device_id sun4i_gpadc_id[] = {
        { "sun4i-a10-gpadc-iio", (kernel_ulong_t)&sun4i_gpadc_data },
        { "sun5i-a13-gpadc-iio", (kernel_ulong_t)&sun5i_gpadc_data },
        { "sun6i-a31-gpadc-iio", (kernel_ulong_t)&sun6i_gpadc_data },
-       { /* sentinel */ },
+       { }
 };
 MODULE_DEVICE_TABLE(platform, sun4i_gpadc_id);
 
index 1e4a786..86eef33 100644 (file)
@@ -366,7 +366,7 @@ MODULE_DEVICE_TABLE(spi, lmp92064_id_table);
 
 static const struct of_device_id lmp92064_of_table[] = {
        { .compatible = "ti,lmp92064" },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(of, lmp92064_of_table);
 
index ef7430e..3ac774e 100644 (file)
@@ -871,7 +871,7 @@ static const struct of_device_id of_twl6030_match_tbl[] = {
                .compatible = "ti,twl6032-gpadc",
                .data = &twl6032_pdata,
        },
-       { /* end */ }
+       { }
 };
 MODULE_DEVICE_TABLE(of, of_twl6030_match_tbl);
 
index f506ca4..805e197 100644 (file)
@@ -505,7 +505,7 @@ static const struct iio_enum vf610_conversion_mode = {
 
 static const struct iio_chan_spec_ext_info vf610_ext_info[] = {
        IIO_ENUM("conversion_mode", IIO_SHARED_BY_DIR, &vf610_conversion_mode),
-       {},
+       { }
 };
 
 #define VF610_ADC_CHAN(_idx, _chan_type) {                     \
@@ -813,7 +813,7 @@ static const struct vf610_chip_info imx6sx_chip_info = {
 static const struct of_device_id vf610_adc_match[] = {
        { .compatible = "fsl,imx6sx-adc", .data = &imx6sx_chip_info},
        { .compatible = "fsl,vf610-adc", .data = &vf610_chip_info},
-       { /* sentinel */ }
+       { }
 };
 MODULE_DEVICE_TABLE(of, vf610_adc_match);
 
index e1f8740..e257c1b 100644 (file)
@@ -1186,7 +1186,7 @@ static const struct of_device_id xadc_of_match_table[] = {
                .compatible = "xlnx,system-management-wiz-1.3",
                .data = &xadc_us_axi_ops
        },
-       { },
+       { }
 };
 MODULE_DEVICE_TABLE(of, xadc_of_match_table);
 
index adfa14c..f092961 100644 (file)
@@ -1505,14 +1505,14 @@ static const struct of_device_id ad74413r_dt_id[] = {
                .compatible = "adi,ad74413r",
                .data = &ad74413r_chip_info_data,
        },
-       {},
+       { }
 };
 MODULE_DEVICE_TABLE(of, ad74413r_dt_id);
 
 static const struct spi_device_id ad74413r_spi_id[] = {
        { .name = "ad74412r", .driver_data = (kernel_ulong_t)&ad74412r_chip_info_data },
        { .name = "ad74413r", .driver_data = (kernel_ulong_t)&ad74413r_chip_info_data },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(spi, ad74413r_spi_id);
 
index b6a4603..ecaf592 100644 (file)
@@ -514,7 +514,7 @@ static const struct of_device_id rescale_match[] = {
          .data = &rescale_cfg[TEMP_SENSE_RTD], },
        { .compatible = "temperature-transducer",
          .data = &rescale_cfg[TEMP_TRANSDUCER], },
-       { /* sentinel */ }
+       { }
 };
 MODULE_DEVICE_TABLE(of, rescale_match);
 
index 31564af..e73c9b9 100644 (file)
@@ -330,7 +330,7 @@ static const struct spi_device_id ad8366_id[] = {
        {"adl5240", ID_ADL5240},
        {"hmc792a", ID_HMC792},
        {"hmc1119", ID_HMC1119},
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(spi, ad8366_id);
 
index 566f0e1..74f8429 100644 (file)
@@ -378,13 +378,13 @@ static int ada4250_probe(struct spi_device *spi)
 
 static const struct spi_device_id ada4250_id[] = {
        { "ada4250", 0 },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(spi, ada4250_id);
 
 static const struct of_device_id ada4250_of_match[] = {
        { .compatible = "adi,ada4250" },
-       {},
+       { }
 };
 MODULE_DEVICE_TABLE(of, ada4250_of_match);
 
index e92d7f3..4dbf894 100644 (file)
@@ -270,7 +270,7 @@ static const struct iio_chan_spec_ext_info ltc6373_ext_info[] = {
                .write = ltc6373_write_powerdown,
                .shared = IIO_SEPARATE,
        },
-       {}
+       { }
 };
 
 #define HMC425A_CHAN(_channel)                                         \
@@ -407,7 +407,7 @@ static const struct of_device_id hmc425a_of_match[] = {
          .data = &hmc425a_chip_info_tbl[ID_ADRF5740]},
        { .compatible = "adi,ltc6373",
          .data = &hmc425a_chip_info_tbl[ID_LTC6373]},
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(of, hmc425a_of_match);
 
index e64a41b..427d32e 100644 (file)
@@ -631,7 +631,7 @@ static const struct i2c_device_id ad7150_id[] = {
        { "ad7150", AD7150 },
        { "ad7151", AD7151 },
        { "ad7156", AD7150 },
-       {}
+       { }
 };
 
 MODULE_DEVICE_TABLE(i2c, ad7150_id);
@@ -640,7 +640,7 @@ static const struct of_device_id ad7150_of_match[] = {
        { "adi,ad7150" },
        { "adi,ad7151" },
        { "adi,ad7156" },
-       {}
+       { }
 };
 static struct i2c_driver ad7150_driver = {
        .driver = {
index ba18dbb..8a306d5 100644 (file)
@@ -792,7 +792,7 @@ static const struct i2c_device_id ad7746_id[] = {
        { "ad7745", 7745 },
        { "ad7746", 7746 },
        { "ad7747", 7747 },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(i2c, ad7746_id);
 
@@ -800,7 +800,7 @@ static const struct of_device_id ad7746_of_match[] = {
        { .compatible = "adi,ad7745" },
        { .compatible = "adi,ad7746" },
        { .compatible = "adi,ad7747" },
-       { },
+       { }
 };
 MODULE_DEVICE_TABLE(of, ad7746_of_match);
 
index 8fcd809..151178d 100644 (file)
@@ -140,13 +140,13 @@ static int ags02ma_probe(struct i2c_client *client)
 
 static const struct i2c_device_id ags02ma_id_table[] = {
        { "ags02ma" },
-       { /* Sentinel */ }
+       { }
 };
 MODULE_DEVICE_TABLE(i2c, ags02ma_id_table);
 
 static const struct of_device_id ags02ma_of_table[] = {
        { .compatible = "aosong,ags02ma" },
-       { /* Sentinel */ }
+       { }
 };
 MODULE_DEVICE_TABLE(of, ags02ma_of_table);
 
index 761a853..de0b87e 100644 (file)
@@ -189,7 +189,7 @@ static const struct i2c_device_id atlas_ezo_id[] = {
        { "atlas-co2-ezo", (kernel_ulong_t)&atlas_ezo_devices[ATLAS_CO2_EZO] },
        { "atlas-o2-ezo", (kernel_ulong_t)&atlas_ezo_devices[ATLAS_O2_EZO] },
        { "atlas-hum-ezo", (kernel_ulong_t)&atlas_ezo_devices[ATLAS_HUM_EZO] },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(i2c, atlas_ezo_id);
 
@@ -197,7 +197,7 @@ static const struct of_device_id atlas_ezo_dt_ids[] = {
        { .compatible = "atlas,co2-ezo", .data = &atlas_ezo_devices[ATLAS_CO2_EZO], },
        { .compatible = "atlas,o2-ezo", .data = &atlas_ezo_devices[ATLAS_O2_EZO], },
        { .compatible = "atlas,hum-ezo", .data = &atlas_ezo_devices[ATLAS_HUM_EZO], },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(of, atlas_ezo_dt_ids);
 
index 593b73c..bde473f 100644 (file)
@@ -593,7 +593,7 @@ static const struct i2c_device_id atlas_id[] = {
        { "atlas-orp-sm", (kernel_ulong_t)&atlas_devices[ATLAS_ORP_SM] },
        { "atlas-do-sm", (kernel_ulong_t)&atlas_devices[ATLAS_DO_SM] },
        { "atlas-rtd-sm", (kernel_ulong_t)&atlas_devices[ATLAS_RTD_SM] },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(i2c, atlas_id);
 
index ac7763f..5560ea7 100644 (file)
@@ -37,13 +37,13 @@ static int bme680_i2c_probe(struct i2c_client *client)
 
 static const struct i2c_device_id bme680_i2c_id[] = {
        { "bme680" },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(i2c, bme680_i2c_id);
 
 static const struct of_device_id bme680_of_i2c_match[] = {
        { .compatible = "bosch,bme680", },
-       {},
+       { }
 };
 MODULE_DEVICE_TABLE(of, bme680_of_i2c_match);
 
index ecb24ba..ced5af2 100644 (file)
@@ -140,13 +140,13 @@ static int bme680_spi_probe(struct spi_device *spi)
 
 static const struct spi_device_id bme680_spi_id[] = {
        {"bme680", 0},
-       {},
+       { }
 };
 MODULE_DEVICE_TABLE(spi, bme680_spi_id);
 
 static const struct of_device_id bme680_of_spi_match[] = {
        { .compatible = "bosch,bme680", },
-       {},
+       { }
 };
 MODULE_DEVICE_TABLE(of, bme680_of_spi_match);
 
index cdb8696..af79efd 100644 (file)
@@ -373,7 +373,7 @@ static const struct iio_chan_spec_ext_info sunrise_concentration_ext_info[] = {
                .read = iio_enum_available_read,
                .private = (uintptr_t)&sunrise_error_statuses_enum,
        },
-       {}
+       { }
 };
 
 static const struct iio_chan_spec sunrise_channels[] = {
@@ -519,7 +519,7 @@ static int sunrise_probe(struct i2c_client *client)
 
 static const struct of_device_id sunrise_of_match[] = {
        { .compatible = "senseair,sunrise-006-0-0007" },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(of, sunrise_of_match);
 
index 119acb0..2d3d148 100644 (file)
@@ -121,7 +121,7 @@ static const struct platform_device_id cros_ec_lid_angle_ids[] = {
        {
                .name = DRV_NAME,
        },
-       { /* sentinel */ }
+       { }
 };
 MODULE_DEVICE_TABLE(platform, cros_ec_lid_angle_ids);
 
index 66153b1..82cef4a 100644 (file)
@@ -311,7 +311,7 @@ static const struct platform_device_id cros_ec_sensors_ids[] = {
        {
                .name = "cros-ec-mag",
        },
-       { /* sentinel */ }
+       { }
 };
 MODULE_DEVICE_TABLE(platform, cros_ec_sensors_ids);
 
index 40d5b10..576d7b4 100644 (file)
@@ -480,7 +480,7 @@ const struct iio_chan_spec_ext_info cros_ec_sensors_ext_info[] = {
                .shared = IIO_SHARED_BY_ALL,
                .read = cros_ec_sensors_id
        },
-       { },
+       { }
 };
 EXPORT_SYMBOL_GPL(cros_ec_sensors_ext_info);
 
index 1a62dd9..da516c4 100644 (file)
@@ -417,7 +417,7 @@ static const struct iio_chan_spec_ext_info scmi_iio_ext_info[] = {
                .read = scmi_iio_get_raw_available,
                .shared = IIO_SHARED_BY_TYPE,
        },
-       {},
+       { }
 };
 
 static void scmi_iio_set_timestamp_channel(struct iio_chan_spec *iio_chan,
@@ -704,7 +704,7 @@ static int scmi_iio_dev_probe(struct scmi_device *sdev)
 
 static const struct scmi_device_id scmi_id_table[] = {
        { SCMI_PROTOCOL_SENSOR, "iiodev" },
-       {},
+       { }
 };
 
 MODULE_DEVICE_TABLE(scmi, scmi_id_table);
index 22ea10e..7c48867 100644 (file)
@@ -434,7 +434,7 @@ static const struct of_device_id ssp_of_match[] = {
                .compatible     = "samsung,sensorhub-thermostat",
                .data           = &ssp_thermostat_info,
        },
-       {},
+       { }
 };
 MODULE_DEVICE_TABLE(of, ssp_of_match);
 
index 9059887..84be517 100644 (file)
@@ -378,7 +378,7 @@ static const struct iio_chan_spec_ext_info ad5064_ext_info[] = {
        },
        IIO_ENUM("powerdown_mode", IIO_SEPARATE, &ad5064_powerdown_mode_enum),
        IIO_ENUM_AVAILABLE("powerdown_mode", IIO_SHARED_BY_TYPE, &ad5064_powerdown_mode_enum),
-       { },
+       { }
 };
 
 static const struct iio_chan_spec_ext_info ltc2617_ext_info[] = {
@@ -390,7 +390,7 @@ static const struct iio_chan_spec_ext_info ltc2617_ext_info[] = {
        },
        IIO_ENUM("powerdown_mode", IIO_SEPARATE, &ltc2617_powerdown_mode_enum),
        IIO_ENUM_AVAILABLE("powerdown_mode", IIO_SHARED_BY_TYPE, &ltc2617_powerdown_mode_enum),
-       { },
+       { }
 };
 
 #define AD5064_CHANNEL(chan, addr, bits, _shift, _ext_info) {          \
@@ -936,7 +936,7 @@ static const struct spi_device_id ad5064_spi_ids[] = {
        {"ad5668-1", ID_AD5668_1},
        {"ad5668-2", ID_AD5668_2},
        {"ad5668-3", ID_AD5668_2}, /* similar enough to ad5668-2 */
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(spi, ad5064_spi_ids);
 
@@ -1048,7 +1048,7 @@ static const struct i2c_device_id ad5064_i2c_ids[] = {
        {"ltc2635-h10", ID_LTC2635_H10},
        {"ltc2635-l8", ID_LTC2635_L8},
        {"ltc2635-h8", ID_LTC2635_H8},
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(i2c, ad5064_i2c_ids);
 
index e0b7f65..a57b0a0 100644 (file)
@@ -542,7 +542,7 @@ static const struct spi_device_id ad5360_ids[] = {
        { "ad5371", ID_AD5371 },
        { "ad5372", ID_AD5372 },
        { "ad5373", ID_AD5373 },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(spi, ad5360_ids);
 
index 392a1c7..f63af70 100644 (file)
@@ -246,7 +246,7 @@ static const struct iio_chan_spec_ext_info ad5380_ext_info[] = {
        IIO_ENUM("powerdown_mode", IIO_SHARED_BY_TYPE,
                 &ad5380_powerdown_mode_enum),
        IIO_ENUM_AVAILABLE("powerdown_mode", IIO_SHARED_BY_TYPE, &ad5380_powerdown_mode_enum),
-       { },
+       { }
 };
 
 #define AD5380_CHANNEL(_bits) {                                        \
index 6ad99f9..ad304b0 100644 (file)
@@ -141,7 +141,7 @@ static const struct iio_chan_spec_ext_info ad5446_ext_info_powerdown[] = {
        },
        IIO_ENUM("powerdown_mode", IIO_SEPARATE, &ad5446_powerdown_mode_enum),
        IIO_ENUM_AVAILABLE("powerdown_mode", IIO_SHARED_BY_TYPE, &ad5446_powerdown_mode_enum),
-       { },
+       { }
 };
 
 #define _AD5446_CHANNEL(bits, storage, _shift, ext) { \
@@ -440,7 +440,7 @@ static const struct spi_device_id ad5446_spi_ids[] = {
        {"dac101s101", ID_AD5310},
        {"dac121s101", ID_AD5320},
        {"dac7512", ID_AD5320},
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(spi, ad5446_spi_ids);
 
@@ -543,7 +543,7 @@ static const struct i2c_device_id ad5446_i2c_ids[] = {
        {"ad5602", ID_AD5602},
        {"ad5612", ID_AD5612},
        {"ad5622", ID_AD5622},
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(i2c, ad5446_i2c_ids);
 
index 1c99601..d8c3252 100644 (file)
@@ -337,7 +337,7 @@ static const struct spi_device_id ad5449_spi_ids[] = {
        { "ad5439", ID_AD5439 },
        { "ad5443", ID_AD5443 },
        { "ad5449", ID_AD5449 },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(spi, ad5449_spi_ids);
 
index ff0765c..355bcb6 100644 (file)
@@ -242,7 +242,7 @@ static const struct iio_chan_spec_ext_info ad5504_ext_info[] = {
        IIO_ENUM("powerdown_mode", IIO_SHARED_BY_TYPE,
                 &ad5504_powerdown_mode_enum),
        IIO_ENUM_AVAILABLE("powerdown_mode", IIO_SHARED_BY_TYPE, &ad5504_powerdown_mode_enum),
-       { },
+       { }
 };
 
 #define AD5504_CHANNEL(_chan) { \
@@ -320,7 +320,7 @@ static int ad5504_probe(struct spi_device *spi)
 static const struct spi_device_id ad5504_id[] = {
        {"ad5504", ID_AD5504},
        {"ad5501", ID_AD5501},
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(spi, ad5504_id);
 
index ed7a3dd..217a8a8 100644 (file)
@@ -470,7 +470,7 @@ static const struct iio_chan_spec_ext_info ad5592r_ext_info[] = {
         .read = ad5592r_show_scale_available,
         .shared = IIO_SHARED_BY_TYPE,
         },
-       {},
+       { }
 };
 
 static void ad5592r_setup_channel(struct iio_dev *iio_dev,
index fd82d87..92d1b62 100644 (file)
@@ -137,19 +137,19 @@ static void ad5592r_spi_remove(struct spi_device *spi)
 
 static const struct spi_device_id ad5592r_spi_ids[] = {
        { .name = "ad5592r", },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(spi, ad5592r_spi_ids);
 
 static const struct of_device_id ad5592r_of_match[] = {
        { .compatible = "adi,ad5592r", },
-       {},
+       { }
 };
 MODULE_DEVICE_TABLE(of, ad5592r_of_match);
 
 static const struct acpi_device_id ad5592r_acpi_match[] = {
        {"ADS5592", },
-       { },
+       { }
 };
 MODULE_DEVICE_TABLE(acpi, ad5592r_acpi_match);
 
index ddd13ad..9a8525c 100644 (file)
@@ -116,19 +116,19 @@ static void ad5593r_i2c_remove(struct i2c_client *i2c)
 
 static const struct i2c_device_id ad5593r_i2c_ids[] = {
        { .name = "ad5593r", },
-       {},
+       { }
 };
 MODULE_DEVICE_TABLE(i2c, ad5593r_i2c_ids);
 
 static const struct of_device_id ad5593r_of_match[] = {
        { .compatible = "adi,ad5593r", },
-       {},
+       { }
 };
 MODULE_DEVICE_TABLE(of, ad5593r_of_match);
 
 static const struct acpi_device_id ad5593r_acpi_match[] = {
        {"ADS5593", },
-       { },
+       { }
 };
 MODULE_DEVICE_TABLE(acpi, ad5593r_acpi_match);
 
index 2fd38ac..13aefe7 100644 (file)
@@ -160,7 +160,7 @@ static const struct iio_chan_spec_ext_info ad5624r_ext_info[] = {
        IIO_ENUM("powerdown_mode", IIO_SHARED_BY_TYPE,
                 &ad5624r_powerdown_mode_enum),
        IIO_ENUM_AVAILABLE("powerdown_mode", IIO_SHARED_BY_TYPE, &ad5624r_powerdown_mode_enum),
-       { },
+       { }
 };
 
 #define AD5624R_CHANNEL(_chan, _bits) { \
@@ -266,7 +266,7 @@ static const struct spi_device_id ad5624r_id[] = {
        {"ad5624r5", ID_AD5624R5},
        {"ad5644r5", ID_AD5644R5},
        {"ad5664r5", ID_AD5664R5},
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(spi, ad5624r_id);
 
index 9c727aa..df8619e 100644 (file)
@@ -112,7 +112,7 @@ static const struct spi_device_id ad5686_spi_id[] = {
        {"ad5685r", ID_AD5685R},
        {"ad5686", ID_AD5686},
        {"ad5686r", ID_AD5686R},
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(spi, ad5686_spi_id);
 
index 763af69..d9cae95 100644 (file)
@@ -185,7 +185,7 @@ static const struct iio_chan_spec_ext_info ad5686_ext_info[] = {
        },
        IIO_ENUM("powerdown_mode", IIO_SEPARATE, &ad5686_powerdown_mode_enum),
        IIO_ENUM_AVAILABLE("powerdown_mode", IIO_SHARED_BY_TYPE, &ad5686_powerdown_mode_enum),
-       { },
+       { }
 };
 
 #define AD5868_CHANNEL(chan, addr, bits, _shift) {             \
index 0156f32..d3327bc 100644 (file)
@@ -82,7 +82,7 @@ static const struct i2c_device_id ad5686_i2c_id[] = {
        {"ad5695r", ID_AD5695R},
        {"ad5696", ID_AD5696},
        {"ad5696r", ID_AD5696R},
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(i2c, ad5686_i2c_id);
 
@@ -101,7 +101,7 @@ static const struct of_device_id ad5686_of_match[] = {
        { .compatible = "adi,ad5695r" },
        { .compatible = "adi,ad5696" },
        { .compatible = "adi,ad5696r" },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(of, ad5686_of_match);
 
index 05e80b6..d0e5f35 100644 (file)
@@ -522,7 +522,7 @@ static const struct iio_chan_spec_ext_info ad5755_ext_info[] = {
                .write = ad5755_write_powerdown,
                .shared = IIO_SEPARATE,
        },
-       { },
+       { }
 };
 
 #define AD5755_CHANNEL(_bits) {                                        \
@@ -853,7 +853,7 @@ static const struct spi_device_id ad5755_id[] = {
        { "ad5757", (kernel_ulong_t)&ad5755_chip_info_tbl[ID_AD5757] },
        { "ad5735", (kernel_ulong_t)&ad5755_chip_info_tbl[ID_AD5735] },
        { "ad5737", (kernel_ulong_t)&ad5755_chip_info_tbl[ID_AD5737] },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(spi, ad5755_id);
 
index 98771e3..4ed4fda 100644 (file)
@@ -878,7 +878,7 @@ static int ad5758_probe(struct spi_device *spi)
 
 static const struct spi_device_id ad5758_id[] = {
        { "ad5758", 0 },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(spi, ad5758_id);
 
index 0aa5ba7..124571b 100644 (file)
@@ -348,7 +348,7 @@ static const struct spi_device_id ad5761_id[] = {
        {"ad5721r", ID_AD5721R},
        {"ad5761", ID_AD5761},
        {"ad5761r", ID_AD5761R},
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(spi, ad5761_id);
 
index f658ac8..dc766c8 100644 (file)
@@ -437,7 +437,7 @@ static const struct iio_chan_spec_ext_info ad5766_ext_info[] = {
        IIO_ENUM("dither_scale", IIO_SEPARATE, &ad5766_dither_scale_enum),
        IIO_ENUM_AVAILABLE("dither_scale", IIO_SEPARATE,
                           &ad5766_dither_scale_enum),
-       {}
+       { }
 };
 
 #define AD576x_CHANNEL(_chan, _bits) {                                 \
@@ -648,14 +648,14 @@ static int ad5766_probe(struct spi_device *spi)
 static const struct of_device_id ad5766_dt_match[] = {
        { .compatible = "adi,ad5766" },
        { .compatible = "adi,ad5767" },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(of, ad5766_dt_match);
 
 static const struct spi_device_id ad5766_spi_ids[] = {
        { "ad5766", ID_AD5766 },
        { "ad5767", ID_AD5767 },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(spi, ad5766_spi_ids);
 
index 25cf11d..6eb4027 100644 (file)
@@ -637,13 +637,13 @@ static int ad5770r_probe(struct spi_device *spi)
 
 static const struct of_device_id ad5770r_of_id[] = {
        { .compatible = "adi,ad5770r", },
-       {},
+       { }
 };
 MODULE_DEVICE_TABLE(of, ad5770r_of_id);
 
 static const struct spi_device_id ad5770r_id[] = {
        { "ad5770r", 0 },
-       {},
+       { }
 };
 MODULE_DEVICE_TABLE(spi, ad5770r_id);
 
index 07848be..8214e52 100644 (file)
@@ -312,7 +312,7 @@ static const struct iio_chan_spec_ext_info ad5791_ext_info[] = {
        IIO_ENUM("powerdown_mode", IIO_SHARED_BY_TYPE,
                 &ad5791_powerdown_mode_enum),
        IIO_ENUM_AVAILABLE("powerdown_mode", IIO_SHARED_BY_TYPE, &ad5791_powerdown_mode_enum),
-       { },
+       { }
 };
 
 #define AD5791_DEFINE_CHIP_INFO(_name, bits, _shift, _lin_comp)                \
index d3f49b5..99fa2d1 100644 (file)
@@ -859,13 +859,13 @@ static int ad7293_probe(struct spi_device *spi)
 
 static const struct spi_device_id ad7293_id[] = {
        { "ad7293", 0 },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(spi, ad7293_id);
 
 static const struct of_device_id ad7293_of_match[] = {
        { .compatible = "adi,ad7293" },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(of, ad7293_of_match);
 
index bff6bf6..a88cc63 100644 (file)
@@ -173,7 +173,7 @@ static const struct iio_chan_spec_ext_info ad7303_ext_info[] = {
                .write = ad7303_write_dac_powerdown,
                .shared = IIO_SEPARATE,
        },
-       { },
+       { }
 };
 
 #define AD7303_CHANNEL(chan) {                                 \
@@ -264,13 +264,13 @@ static int ad7303_probe(struct spi_device *spi)
 
 static const struct of_device_id ad7303_spi_of_match[] = {
        { .compatible = "adi,ad7303", },
-       { /* sentinel */ },
+       { }
 };
 MODULE_DEVICE_TABLE(of, ad7303_spi_of_match);
 
 static const struct spi_device_id ad7303_spi_ids[] = {
        { "ad7303", 0 },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(spi, ad7303_spi_ids);
 
index 8a362fa..60e663a 100644 (file)
@@ -153,7 +153,7 @@ static int ad8801_probe(struct spi_device *spi)
 static const struct spi_device_id ad8801_ids[] = {
        {"ad8801", ID_AD8801},
        {"ad8803", ID_AD8803},
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(spi, ad8801_ids);
 
index b6a6535..d77b46d 100644 (file)
@@ -442,13 +442,13 @@ static int ad9739a_probe(struct spi_device *spi)
 
 static const struct of_device_id ad9739a_of_match[] = {
        { .compatible = "adi,ad9739a" },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(of, ad9739a_of_match);
 
 static const struct spi_device_id ad9739a_id[] = {
        {"ad9739a"},
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(spi, ad9739a_id);
 
index 8ed5ad1..538f1b9 100644 (file)
@@ -488,7 +488,7 @@ static const struct iio_chan_spec_ext_info axi_dac_ext_info[] = {
        IIO_BACKEND_EX_INFO("scale1", IIO_SEPARATE, AXI_DAC_SCALE_TONE_2),
        IIO_BACKEND_EX_INFO("phase0", IIO_SEPARATE, AXI_DAC_PHASE_TONE_1),
        IIO_BACKEND_EX_INFO("phase1", IIO_SEPARATE, AXI_DAC_PHASE_TONE_2),
-       {}
+       { }
 };
 
 static int axi_dac_extend_chan(struct iio_backend *back,
@@ -1015,7 +1015,7 @@ static const struct axi_dac_info dac_ad3552r = {
 static const struct of_device_id axi_dac_of_match[] = {
        { .compatible = "adi,axi-dac-9.1.b", .data = &dac_generic },
        { .compatible = "adi,axi-ad3552r", .data = &dac_ad3552r },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(of, axi_dac_of_match);
 
index f36f10b..d1b8441 100644 (file)
@@ -237,7 +237,7 @@ static void dpot_dac_remove(struct platform_device *pdev)
 
 static const struct of_device_id dpot_dac_match[] = {
        { .compatible = "dpot-dac" },
-       { /* sentinel */ }
+       { }
 };
 MODULE_DEVICE_TABLE(of, dpot_dac_match);
 
index e89e4c0..a26a997 100644 (file)
@@ -301,7 +301,7 @@ MODULE_DEVICE_TABLE(i2c, ds4424_id);
 static const struct of_device_id ds4424_of_match[] = {
        { .compatible = "maxim,ds4422" },
        { .compatible = "maxim,ds4424" },
-       { },
+       { }
 };
 
 MODULE_DEVICE_TABLE(of, ds4424_of_match);
index 2332b0c..aa1c73f 100644 (file)
@@ -179,7 +179,7 @@ static void lpc18xx_dac_remove(struct platform_device *pdev)
 
 static const struct of_device_id lpc18xx_dac_match[] = {
        { .compatible = "nxp,lpc1850-dac" },
-       { /* sentinel */ }
+       { }
 };
 MODULE_DEVICE_TABLE(of, lpc18xx_dac_match);
 
index 2758fc8..6e80b49 100644 (file)
@@ -219,14 +219,14 @@ static void ltc1660_remove(struct spi_device *spi)
 static const struct of_device_id ltc1660_dt_ids[] = {
        { .compatible = "lltc,ltc1660", .data = (void *)ID_LTC1660 },
        { .compatible = "lltc,ltc1665", .data = (void *)ID_LTC1665 },
-       { /* sentinel */ }
+       { }
 };
 MODULE_DEVICE_TABLE(of, ltc1660_dt_ids);
 
 static const struct spi_device_id ltc1660_id[] = {
        {"ltc1660", ID_LTC1660},
        {"ltc1665", ID_LTC1665},
-       { /* sentinel */ }
+       { }
 };
 MODULE_DEVICE_TABLE(spi, ltc1660_id);
 
index 9993488..105f939 100644 (file)
@@ -176,7 +176,7 @@ static const struct iio_chan_spec_ext_info ltc2632_ext_info[] = {
                .write = ltc2632_write_dac_powerdown,
                .shared = IIO_SEPARATE,
        },
-       { },
+       { }
 };
 
 #define LTC2632_CHANNEL(_chan, _bits) { \
@@ -372,7 +372,7 @@ static const struct spi_device_id ltc2632_id[] = {
        { "ltc2636-h12", (kernel_ulong_t)&ltc2632_chip_info_tbl[ID_LTC2636H12] },
        { "ltc2636-h10", (kernel_ulong_t)&ltc2632_chip_info_tbl[ID_LTC2636H10] },
        { "ltc2636-h8", (kernel_ulong_t)&ltc2632_chip_info_tbl[ID_LTC2636H8] },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(spi, ltc2632_id);
 
@@ -432,7 +432,7 @@ static const struct of_device_id ltc2632_of_match[] = {
                .compatible = "lltc,ltc2636-h8",
                .data = &ltc2632_chip_info_tbl[ID_LTC2636H8]
        },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(of, ltc2632_of_match);
 
index bdc857c..757b483 100644 (file)
@@ -608,7 +608,7 @@ static const struct iio_chan_spec_ext_info ltc2688_toggle_sym_ext_info[] = {
                              ltc2688_reg_bool_get, ltc2688_reg_bool_set),
        LTC2688_CHAN_EXT_INFO("symbol", LTC2688_CMD_SW_TOGGLE, IIO_SEPARATE,
                              ltc2688_reg_bool_get, ltc2688_reg_bool_set),
-       {}
+       { }
 };
 
 static const struct iio_chan_spec_ext_info ltc2688_toggle_ext_info[] = {
@@ -621,7 +621,7 @@ static const struct iio_chan_spec_ext_info ltc2688_toggle_ext_info[] = {
                              ltc2688_dither_toggle_set),
        LTC2688_CHAN_EXT_INFO("powerdown", LTC2688_CMD_POWERDOWN, IIO_SEPARATE,
                              ltc2688_reg_bool_get, ltc2688_reg_bool_set),
-       {}
+       { }
 };
 
 static struct iio_chan_spec_ext_info ltc2688_dither_ext_info[] = {
@@ -649,13 +649,13 @@ static struct iio_chan_spec_ext_info ltc2688_dither_ext_info[] = {
                              ltc2688_dither_toggle_set),
        LTC2688_CHAN_EXT_INFO("powerdown", LTC2688_CMD_POWERDOWN, IIO_SEPARATE,
                              ltc2688_reg_bool_get, ltc2688_reg_bool_set),
-       {}
+       { }
 };
 
 static const struct iio_chan_spec_ext_info ltc2688_ext_info[] = {
        LTC2688_CHAN_EXT_INFO("powerdown", LTC2688_CMD_POWERDOWN, IIO_SEPARATE,
                              ltc2688_reg_bool_get, ltc2688_reg_bool_set),
-       {}
+       { }
 };
 
 #define LTC2688_CHANNEL(_chan) {                                       \
@@ -991,13 +991,13 @@ static int ltc2688_probe(struct spi_device *spi)
 
 static const struct of_device_id ltc2688_of_id[] = {
        { .compatible = "adi,ltc2688" },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(of, ltc2688_of_id);
 
 static const struct spi_device_id ltc2688_id[] = {
        { "ltc2688" },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(spi, ltc2688_id);
 
index 9f72155..1b8fe6b 100644 (file)
@@ -174,7 +174,7 @@ static int max5522_spi_probe(struct spi_device *spi)
 
 static const struct spi_device_id max5522_ids[] = {
        { "max5522", (kernel_ulong_t)&max5522_chip_info_tbl[ID_MAX5522] },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(spi, max5522_ids);
 
@@ -183,7 +183,7 @@ static const struct of_device_id max5522_of_match[] = {
                .compatible = "maxim,max5522",
                .data = &max5522_chip_info_tbl[ID_MAX5522],
        },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(of, max5522_of_match);
 
index b062a18..e7e2935 100644 (file)
@@ -137,7 +137,7 @@ static const struct iio_chan_spec_ext_info max5821_ext_info[] = {
        },
        IIO_ENUM("powerdown_mode", IIO_SEPARATE, &max5821_powerdown_mode_enum),
        IIO_ENUM_AVAILABLE("powerdown_mode", IIO_SHARED_BY_TYPE, &max5821_powerdown_mode_enum),
-       { },
+       { }
 };
 
 #define MAX5821_CHANNEL(chan) {                                        \
index 1337fb0..6297249 100644 (file)
@@ -241,7 +241,7 @@ static const struct iio_chan_spec_ext_info mcp4725_ext_info[] = {
                        &mcp472x_powerdown_mode_enum[MCP4725]),
        IIO_ENUM_AVAILABLE("powerdown_mode", IIO_SHARED_BY_TYPE,
                           &mcp472x_powerdown_mode_enum[MCP4725]),
-       { },
+       { }
 };
 
 static const struct iio_chan_spec_ext_info mcp4726_ext_info[] = {
@@ -255,7 +255,7 @@ static const struct iio_chan_spec_ext_info mcp4726_ext_info[] = {
                        &mcp472x_powerdown_mode_enum[MCP4726]),
        IIO_ENUM_AVAILABLE("powerdown_mode", IIO_SHARED_BY_TYPE,
                           &mcp472x_powerdown_mode_enum[MCP4726]),
-       { },
+       { }
 };
 
 static const struct iio_chan_spec mcp472x_channel[] = {
index 192175d..4f30b99 100644 (file)
@@ -286,7 +286,7 @@ static const struct iio_chan_spec_ext_info mcp4728_ext_info[] = {
        IIO_ENUM("powerdown_mode", IIO_SEPARATE, &mcp4728_powerdown_mode_enum),
        IIO_ENUM_AVAILABLE("powerdown_mode", IIO_SHARED_BY_TYPE,
                           &mcp4728_powerdown_mode_enum),
-       {},
+       { }
 };
 
 static const struct iio_chan_spec mcp4728_channels[MCP4728_N_CHANNELS] = {
@@ -573,13 +573,13 @@ static int mcp4728_probe(struct i2c_client *client)
 
 static const struct i2c_device_id mcp4728_id[] = {
        { "mcp4728" },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(i2c, mcp4728_id);
 
 static const struct of_device_id mcp4728_of_match[] = {
        { .compatible = "microchip,mcp4728" },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(of, mcp4728_of_match);
 
index c1a59bb..748bdca 100644 (file)
@@ -206,7 +206,7 @@ static const struct of_device_id mcp4821_of_table[] = {
        MCP4821_COMPATIBLE("microchip,mcp4812", ID_MCP4812),
        MCP4821_COMPATIBLE("microchip,mcp4821", ID_MCP4821),
        MCP4821_COMPATIBLE("microchip,mcp4822", ID_MCP4822),
-       { /* Sentinel */ }
+       { }
 };
 MODULE_DEVICE_TABLE(of, mcp4821_of_table);
 
@@ -217,7 +217,7 @@ static const struct spi_device_id mcp4821_id_table[] = {
        { "mcp4812", (kernel_ulong_t)&mcp4821_chip_info_table[ID_MCP4812]},
        { "mcp4821", (kernel_ulong_t)&mcp4821_chip_info_table[ID_MCP4821]},
        { "mcp4822", (kernel_ulong_t)&mcp4821_chip_info_table[ID_MCP4822]},
-       { /* Sentinel */ }
+       { }
 };
 MODULE_DEVICE_TABLE(spi, mcp4821_id_table);
 
index 26aa990..74f338a 100644 (file)
@@ -161,7 +161,7 @@ static const struct spi_device_id mcp4922_id[] = {
        {"mcp4912", ID_MCP4912},
        {"mcp4921", ID_MCP4921},
        {"mcp4922", ID_MCP4922},
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(spi, mcp4922_id);
 
index 95ed519..8ef7029 100644 (file)
@@ -239,7 +239,7 @@ static const struct of_device_id stm32_dac_of_match[] = {
                .compatible = "st,stm32h7-dac-core",
                .data = (void *)&stm32h7_dac_cfg,
        },
-       {},
+       { }
 };
 MODULE_DEVICE_TABLE(of, stm32_dac_of_match);
 
index 3bfb368..3443883 100644 (file)
@@ -250,7 +250,7 @@ static const struct iio_chan_spec_ext_info stm32_dac_ext_info[] = {
        },
        IIO_ENUM("powerdown_mode", IIO_SEPARATE, &stm32_dac_powerdown_mode_en),
        IIO_ENUM_AVAILABLE("powerdown_mode", IIO_SHARED_BY_TYPE, &stm32_dac_powerdown_mode_en),
-       {},
+       { }
 };
 
 #define STM32_DAC_CHANNEL(chan, name) {                        \
@@ -392,7 +392,7 @@ static DEFINE_SIMPLE_DEV_PM_OPS(stm32_dac_pm_ops, stm32_dac_suspend,
 
 static const struct of_device_id stm32_dac_of_match[] = {
        { .compatible = "st,stm32-dac", },
-       {},
+       { }
 };
 MODULE_DEVICE_TABLE(of, stm32_dac_of_match);
 
index 8e1590e..715870c 100644 (file)
@@ -161,7 +161,7 @@ static const struct iio_chan_spec_ext_info ti_dac_ext_info[] = {
        },
        IIO_ENUM("powerdown_mode", IIO_SHARED_BY_TYPE, &ti_dac_powerdown_mode),
        IIO_ENUM_AVAILABLE("powerdown_mode", IIO_SHARED_BY_TYPE, &ti_dac_powerdown_mode),
-       { },
+       { }
 };
 
 #define TI_DAC_CHANNEL(chan) {                                 \
index c5162b7..bdc3f94 100644 (file)
@@ -216,7 +216,7 @@ static const struct iio_chan_spec_ext_info dac5571_ext_info[] = {
        },
        IIO_ENUM("powerdown_mode", IIO_SEPARATE, &dac5571_powerdown_mode),
        IIO_ENUM_AVAILABLE("powerdown_mode", IIO_SHARED_BY_TYPE, &dac5571_powerdown_mode),
-       {},
+       { }
 };
 
 #define dac5571_CHANNEL(chan, name) {                          \
@@ -398,7 +398,7 @@ static const struct of_device_id dac5571_of_id[] = {
        {.compatible = "ti,dac5573", .data = &dac5571_spec[quad_8bit] },
        {.compatible = "ti,dac6573", .data = &dac5571_spec[quad_10bit] },
        {.compatible = "ti,dac7573", .data = &dac5571_spec[quad_12bit] },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(of, dac5571_of_id);
 
@@ -414,7 +414,7 @@ static const struct i2c_device_id dac5571_id[] = {
        {"dac5573", (kernel_ulong_t)&dac5571_spec[quad_8bit] },
        {"dac6573", (kernel_ulong_t)&dac5571_spec[quad_10bit] },
        {"dac7573", (kernel_ulong_t)&dac5571_spec[quad_12bit] },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(i2c, dac5571_id);
 
index 6f4aa47..3d2ce61 100644 (file)
@@ -147,7 +147,7 @@ static const struct iio_chan_spec_ext_info ti_dac_ext_info[] = {
        },
        IIO_ENUM("powerdown_mode", IIO_SHARED_BY_TYPE, &ti_dac_powerdown_mode),
        IIO_ENUM_AVAILABLE("powerdown_mode", IIO_SHARED_BY_TYPE, &ti_dac_powerdown_mode),
-       { },
+       { }
 };
 
 #define TI_DAC_CHANNEL(chan) {                                 \
index 8195815..c308eca 100644 (file)
@@ -166,7 +166,7 @@ static int dac7612_probe(struct spi_device *spi)
 
 static const struct spi_device_id dac7612_id[] = {
        {"ti-dac7612"},
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(spi, dac7612_id);
 
@@ -174,7 +174,7 @@ static const struct of_device_id dac7612_of_match[] = {
        { .compatible = "ti,dac7612" },
        { .compatible = "ti,dac7612u" },
        { .compatible = "ti,dac7612ub" },
-       { },
+       { }
 };
 MODULE_DEVICE_TABLE(of, dac7612_of_match);
 
index 82a078f..b30ff7b 100644 (file)
@@ -99,7 +99,7 @@ static const struct iio_enum vf610_conversion_mode = {
 static const struct iio_chan_spec_ext_info vf610_ext_info[] = {
        IIO_ENUM("conversion_mode", IIO_SHARED_BY_DIR,
                &vf610_conversion_mode),
-       {},
+       { }
 };
 
 #define VF610_DAC_CHAN(_chan_type) { \
@@ -166,7 +166,7 @@ static const struct iio_info vf610_dac_iio_info = {
 
 static const struct of_device_id vf610_dac_match[] = {
        { .compatible = "fsl,vf610-dac", },
-       { /* sentinel */ }
+       { }
 };
 MODULE_DEVICE_TABLE(of, vf610_dac_match);
 
index cc8ce0f..19f8234 100644 (file)
@@ -602,7 +602,7 @@ static const struct iio_enum admv8818_mode_enum = {
 static const struct iio_chan_spec_ext_info admv8818_ext_info[] = {
        IIO_ENUM("filter_mode", IIO_SHARED_BY_ALL, &admv8818_mode_enum),
        IIO_ENUM_AVAILABLE("filter_mode", IIO_SHARED_BY_ALL, &admv8818_mode_enum),
-       { },
+       { }
 };
 
 #define ADMV8818_CHAN(_channel) {                              \
@@ -797,13 +797,13 @@ static int admv8818_probe(struct spi_device *spi)
 
 static const struct spi_device_id admv8818_id[] = {
        { "admv8818", 0 },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(spi, admv8818_id);
 
 static const struct of_device_id admv8818_of_match[] = {
        { .compatible = "adi,admv8818" },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(of, admv8818_of_match);
 
index b1554ce..63c485e 100644 (file)
@@ -1032,7 +1032,7 @@ static int ad9523_probe(struct spi_device *spi)
 
 static const struct spi_device_id ad9523_id[] = {
        {"ad9523-1", 9523},
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(spi, ad9523_id);
 
index 61828e6..47f1c7e 100644 (file)
@@ -373,7 +373,7 @@ static const struct iio_chan_spec_ext_info adf4350_ext_info[] = {
        _ADF4350_EXT_INFO("frequency_resolution", ADF4350_FREQ_RESOLUTION),
        _ADF4350_EXT_INFO("refin_frequency", ADF4350_FREQ_REFIN),
        _ADF4350_EXT_INFO("powerdown", ADF4350_PWRDOWN),
-       { },
+       { }
 };
 
 static const struct iio_chan_spec adf4350_chan = {
@@ -682,14 +682,14 @@ static int adf4350_probe(struct spi_device *spi)
 static const struct of_device_id adf4350_of_match[] = {
        { .compatible = "adi,adf4350", },
        { .compatible = "adi,adf4351", },
-       { /* sentinel */ },
+       { }
 };
 MODULE_DEVICE_TABLE(of, adf4350_of_match);
 
 static const struct spi_device_id adf4350_id[] = {
        {"adf4350", 4350},
        {"adf4351", 4351},
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(spi, adf4350_id);
 
index 9a84e81..d6dc782 100644 (file)
@@ -438,7 +438,7 @@ static const struct iio_chan_spec_ext_info adf4371_ext_info[] = {
        _ADF4371_EXT_INFO("frequency", ADF4371_FREQ),
        _ADF4371_EXT_INFO("powerdown", ADF4371_POWER_DOWN),
        _ADF4371_EXT_INFO("name", ADF4371_CHANNEL_NAME),
-       { },
+       { }
 };
 
 #define ADF4371_CHANNEL(index) { \
@@ -626,14 +626,14 @@ static int adf4371_probe(struct spi_device *spi)
 static const struct spi_device_id adf4371_id_table[] = {
        { "adf4371", (kernel_ulong_t)&adf4371_chip_info },
        { "adf4372", (kernel_ulong_t)&adf4372_chip_info },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(spi, adf4371_id_table);
 
 static const struct of_device_id adf4371_of_match[] = {
        { .compatible = "adi,adf4371", .data = &adf4371_chip_info },
        { .compatible = "adi,adf4372", .data = &adf4372_chip_info},
-       { },
+       { }
 };
 MODULE_DEVICE_TABLE(of, adf4371_of_match);
 
index 45ceeb8..08833b7 100644 (file)
@@ -985,14 +985,14 @@ static int adf4377_probe(struct spi_device *spi)
 static const struct spi_device_id adf4377_id[] = {
        { "adf4377", (kernel_ulong_t)&adf4377_chip_info },
        { "adf4378", (kernel_ulong_t)&adf4378_chip_info },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(spi, adf4377_id);
 
 static const struct of_device_id adf4377_of_match[] = {
        { .compatible = "adi,adf4377", .data = &adf4377_chip_info },
        { .compatible = "adi,adf4378", .data = &adf4378_chip_info },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(of, adf4377_of_match);
 
index 8ef5836..6f50884 100644 (file)
@@ -407,7 +407,7 @@ static int admv1013_freq_change(struct notifier_block *nb, unsigned long action,
 static const struct iio_chan_spec_ext_info admv1013_ext_info[] = {
        _ADMV1013_EXT_INFO("i_calibphase", IIO_SEPARATE, ADMV1013_RFMOD_I_CALIBPHASE),
        _ADMV1013_EXT_INFO("q_calibphase", IIO_SEPARATE, ADMV1013_RFMOD_Q_CALIBPHASE),
-       { },
+       { }
 };
 
 #define ADMV1013_CHAN_PHASE(_channel, _channel2, _admv1013_ext_info) {         \
@@ -615,13 +615,13 @@ static int admv1013_probe(struct spi_device *spi)
 
 static const struct spi_device_id admv1013_id[] = {
        { "admv1013", 0 },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(spi, admv1013_id);
 
 static const struct of_device_id admv1013_of_match[] = {
        { .compatible = "adi,admv1013" },
-       {},
+       { }
 };
 MODULE_DEVICE_TABLE(of, admv1013_of_match);
 
index 986b87a..7a8f92e 100644 (file)
@@ -792,13 +792,13 @@ static int admv1014_probe(struct spi_device *spi)
 
 static const struct spi_device_id admv1014_id[] = {
        { "admv1014", 0 },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(spi, admv1014_id);
 
 static const struct of_device_id admv1014_of_match[] = {
        { .compatible = "adi,admv1014" },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(of, admv1014_of_match);
 
index 57ee908..a7a21f9 100644 (file)
@@ -487,13 +487,13 @@ static int adrf6780_probe(struct spi_device *spi)
 
 static const struct spi_device_id adrf6780_id[] = {
        { "adrf6780", 0 },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(spi, adrf6780_id);
 
 static const struct of_device_id adrf6780_of_match[] = {
        { .compatible = "adi,adrf6780" },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(of, adrf6780_of_match);
 
index 14b3abf..178bba9 100644 (file)
@@ -214,7 +214,7 @@ static int adis16080_probe(struct spi_device *spi)
 static const struct spi_device_id adis16080_ids[] = {
        { "adis16080", ID_ADIS16080 },
        { "adis16100", ID_ADIS16100 },
-       {},
+       { }
 };
 MODULE_DEVICE_TABLE(spi, adis16080_ids);
 
index c151fbb..586e6cf 100644 (file)
@@ -414,7 +414,7 @@ static const struct spi_device_id adis16260_id[] = {
        {"adis16250", ADIS16260},
        {"adis16255", ADIS16260},
        {"adis16251", ADIS16251},
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(spi, adis16260_id);
 
index f84438e..5dadb88 100644 (file)
@@ -446,7 +446,7 @@ static int adxrs450_probe(struct spi_device *spi)
 static const struct spi_device_id adxrs450_id[] = {
        {"adxrs450", ID_ADXRS450},
        {"adxrs453", ID_ADXRS453},
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(spi, adxrs450_id);
 
index e6caab4..1fb8a79 100644 (file)
@@ -41,7 +41,7 @@ static void bmg160_i2c_remove(struct i2c_client *client)
 
 static const struct acpi_device_id bmg160_acpi_match[] = {
        {"BMG0160", 0},
-       {},
+       { }
 };
 
 MODULE_DEVICE_TABLE(acpi, bmg160_acpi_match);
@@ -50,7 +50,7 @@ static const struct i2c_device_id bmg160_i2c_id[] = {
        { "bmg160" },
        { "bmi055_gyro" },
        { "bmi088_gyro" },
-       {}
+       { }
 };
 
 MODULE_DEVICE_TABLE(i2c, bmg160_i2c_id);
index ac04b3b..6aecc5e 100644 (file)
@@ -36,7 +36,7 @@ static const struct spi_device_id bmg160_spi_id[] = {
        {"bmg160", 0},
        {"bmi055_gyro", 0},
        {"bmi088_gyro", 0},
-       {}
+       { }
 };
 
 MODULE_DEVICE_TABLE(spi, bmg160_spi_id);
index 54b6f6f..c43990c 100644 (file)
@@ -375,7 +375,7 @@ static const struct platform_device_id hid_gyro_3d_ids[] = {
                /* Format: HID-SENSOR-usage_id_in_hex_lowercase */
                .name = "HID-SENSOR-200076",
        },
-       { /* sentinel */ }
+       { }
 };
 MODULE_DEVICE_TABLE(platform, hid_gyro_3d_ids);
 
index d66224b..1655394 100644 (file)
@@ -684,7 +684,7 @@ mpu3050_get_mount_matrix(const struct iio_dev *indio_dev,
 
 static const struct iio_chan_spec_ext_info mpu3050_ext_info[] = {
        IIO_MOUNT_MATRIX(IIO_SHARED_BY_TYPE, mpu3050_get_mount_matrix),
-       { },
+       { }
 };
 
 #define MPU3050_AXIS_CHANNEL(axis, index)                              \
index 29ecfa6..8e284f4 100644 (file)
@@ -95,7 +95,7 @@ static void mpu3050_i2c_remove(struct i2c_client *client)
  */
 static const struct i2c_device_id mpu3050_i2c_id[] = {
        { "mpu3050" },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(i2c, mpu3050_i2c_id);
 
@@ -103,7 +103,7 @@ static const struct of_device_id mpu3050_i2c_of_match[] = {
        { .compatible = "invensense,mpu3050", .data = "mpu3050" },
        /* Deprecated vendor ID from the Input driver */
        { .compatible = "invn,mpu3050", .data = "mpu3050" },
-       { },
+       { }
 };
 MODULE_DEVICE_TABLE(of, mpu3050_i2c_of_match);
 
index d4b11bd..aef5ec8 100644 (file)
@@ -54,7 +54,7 @@ static const struct of_device_id st_gyro_of_match[] = {
                .compatible = "st,lsm9ds0-gyro",
                .data = LSM9DS0_GYRO_DEV_NAME,
        },
-       {},
+       { }
 };
 MODULE_DEVICE_TABLE(of, st_gyro_of_match);
 
@@ -102,7 +102,7 @@ static const struct i2c_device_id st_gyro_id_table[] = {
        { L3G4IS_GYRO_DEV_NAME },
        { LSM330_GYRO_DEV_NAME },
        { LSM9DS0_GYRO_DEV_NAME },
-       {},
+       { }
 };
 MODULE_DEVICE_TABLE(i2c, st_gyro_id_table);
 
index 811f712..f645da1 100644 (file)
@@ -59,7 +59,7 @@ static const struct of_device_id st_gyro_of_match[] = {
                .compatible = "st,lsm9ds0-gyro",
                .data = LSM9DS0_GYRO_DEV_NAME,
        },
-       {},
+       { }
 };
 MODULE_DEVICE_TABLE(of, st_gyro_of_match);
 
@@ -107,7 +107,7 @@ static const struct spi_device_id st_gyro_id_table[] = {
        { L3G4IS_GYRO_DEV_NAME },
        { LSM330_GYRO_DEV_NAME },
        { LSM9DS0_GYRO_DEV_NAME },
-       {},
+       { }
 };
 MODULE_DEVICE_TABLE(spi, st_gyro_id_table);
 
index 13e1dd4..1582cfc 100644 (file)
@@ -411,7 +411,7 @@ static const struct regmap_config afe4403_regmap_config = {
 
 static const struct of_device_id afe4403_of_match[] = {
        { .compatible = "ti,afe4403", },
-       { /* sentinel */ }
+       { }
 };
 MODULE_DEVICE_TABLE(of, afe4403_of_match);
 
@@ -574,7 +574,7 @@ static int afe4403_probe(struct spi_device *spi)
 
 static const struct spi_device_id afe4403_ids[] = {
        { "afe4403", 0 },
-       { /* sentinel */ }
+       { }
 };
 MODULE_DEVICE_TABLE(spi, afe4403_ids);
 
index d49e157..99ff68a 100644 (file)
@@ -419,7 +419,7 @@ static const struct regmap_config afe4404_regmap_config = {
 
 static const struct of_device_id afe4404_of_match[] = {
        { .compatible = "ti,afe4404", },
-       { /* sentinel */ }
+       { }
 };
 MODULE_DEVICE_TABLE(of, afe4404_of_match);
 
@@ -581,7 +581,7 @@ static int afe4404_probe(struct i2c_client *client)
 
 static const struct i2c_device_id afe4404_ids[] = {
        { "afe4404" },
-       { /* sentinel */ }
+       { }
 };
 MODULE_DEVICE_TABLE(i2c, afe4404_ids);
 
index e08d143..846664a 100644 (file)
@@ -483,7 +483,7 @@ static void max30100_remove(struct i2c_client *client)
 
 static const struct i2c_device_id max30100_id[] = {
        { "max30100" },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(i2c, max30100_id);
 
index dacc489..f5f29d2 100644 (file)
@@ -615,7 +615,7 @@ static const struct i2c_device_id max30102_id[] = {
        { "max30101", max30105 },
        { "max30102", max30102 },
        { "max30105", max30105 },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(i2c, max30102_id);
 
index 2323974..f021c3e 100644 (file)
@@ -253,7 +253,7 @@ static int am2315_probe(struct i2c_client *client)
 
 static const struct i2c_device_id am2315_i2c_id[] = {
        { "am2315" },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(i2c, am2315_i2c_id);
 
index a40e1eb..be2338d 100644 (file)
@@ -276,7 +276,7 @@ static const struct platform_device_id hid_humidity_ids[] = {
                /* Format: HID-SENSOR-usage_id_in_hex_lowercase */
                .name = "HID-SENSOR-200032",
        },
-       { /* sentinel */ }
+       { }
 };
 MODULE_DEVICE_TABLE(platform, hid_humidity_ids);
 
index 87a8e3c..cbaa7d1 100644 (file)
@@ -42,19 +42,19 @@ static int hts221_i2c_probe(struct i2c_client *client)
 
 static const struct acpi_device_id hts221_acpi_match[] = {
        {"SMO9100", 0},
-       { },
+       { }
 };
 MODULE_DEVICE_TABLE(acpi, hts221_acpi_match);
 
 static const struct of_device_id hts221_i2c_of_match[] = {
        { .compatible = "st,hts221", },
-       {},
+       { }
 };
 MODULE_DEVICE_TABLE(of, hts221_i2c_of_match);
 
 static const struct i2c_device_id hts221_i2c_id_table[] = {
        { HTS221_DEV_NAME },
-       {},
+       { }
 };
 MODULE_DEVICE_TABLE(i2c, hts221_i2c_id_table);
 
index 00154b9..e6fef2a 100644 (file)
@@ -42,13 +42,13 @@ static int hts221_spi_probe(struct spi_device *spi)
 
 static const struct of_device_id hts221_spi_of_match[] = {
        { .compatible = "st,hts221", },
-       {},
+       { }
 };
 MODULE_DEVICE_TABLE(of, hts221_spi_of_match);
 
 static const struct spi_device_id hts221_spi_id_table[] = {
        { HTS221_DEV_NAME },
-       {},
+       { }
 };
 MODULE_DEVICE_TABLE(spi, hts221_spi_id_table);
 
index 6402e39..7f1775b 100644 (file)
@@ -232,14 +232,14 @@ static int htu21_probe(struct i2c_client *client)
 static const struct i2c_device_id htu21_id[] = {
        {"htu21", HTU21},
        {"ms8607-humidity", MS8607},
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(i2c, htu21_id);
 
 static const struct of_device_id htu21_of_match[] = {
        { .compatible = "meas,htu21", },
        { .compatible = "meas,ms8607-humidity", },
-       { },
+       { }
 };
 MODULE_DEVICE_TABLE(of, htu21_of_match);
 
index 3086dd5..90ed3f9 100644 (file)
@@ -1212,7 +1212,7 @@ static const struct spi_device_id adis16400_id[] = {
        {"adis16405", ADIS16400},
        {"adis16445", ADIS16445},
        {"adis16448", ADIS16448},
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(spi, adis16400_id);
 
index ecf7404..ba1887d 100644 (file)
@@ -395,13 +395,13 @@ static int adis16460_probe(struct spi_device *spi)
 
 static const struct spi_device_id adis16460_ids[] = {
        { "adis16460", 0 },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(spi, adis16460_ids);
 
 static const struct of_device_id adis16460_of_match[] = {
        { .compatible = "adi,adis16460" },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(of, adis16460_of_match);
 
index df8c6cd..924395b 100644 (file)
@@ -2058,7 +2058,7 @@ static const struct of_device_id adis16475_of_match[] = {
                .data = &adis16475_chip_info[ADIS16577_2] },
        { .compatible = "adi,adis16577-3",
                .data = &adis16475_chip_info[ADIS16577_3] },
-       { },
+       { }
 };
 MODULE_DEVICE_TABLE(of, adis16475_of_match);
 
index 727e0a1..543d5c4 100644 (file)
@@ -1852,7 +1852,7 @@ static const struct of_device_id adis16480_of_match[] = {
        { .compatible = "adi,adis16547-1" },
        { .compatible = "adi,adis16547-2" },
        { .compatible = "adi,adis16547-3" },
-       { },
+       { }
 };
 MODULE_DEVICE_TABLE(of, adis16480_of_match);
 
index 214503f..9fa3a19 100644 (file)
@@ -39,7 +39,7 @@ static int bmi160_i2c_probe(struct i2c_client *client)
 static const struct i2c_device_id bmi160_i2c_id[] = {
        { "bmi120" },
        { "bmi160" },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(i2c, bmi160_i2c_id);
 
@@ -55,14 +55,14 @@ static const struct acpi_device_id bmi160_acpi_match[] = {
        {"10EC5280", 0},
        {"BMI0120", 0},
        {"BMI0160", 0},
-       { },
+       { }
 };
 MODULE_DEVICE_TABLE(acpi, bmi160_acpi_match);
 
 static const struct of_device_id bmi160_of_match[] = {
        { .compatible = "bosch,bmi120" },
        { .compatible = "bosch,bmi160" },
-       { },
+       { }
 };
 MODULE_DEVICE_TABLE(of, bmi160_of_match);
 
index 8fbaab2..ebb5869 100644 (file)
@@ -36,21 +36,21 @@ static int bmi160_spi_probe(struct spi_device *spi)
 static const struct spi_device_id bmi160_spi_id[] = {
        {"bmi120", 0},
        {"bmi160", 0},
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(spi, bmi160_spi_id);
 
 static const struct acpi_device_id bmi160_acpi_match[] = {
        {"BMI0120", 0},
        {"BMI0160", 0},
-       { },
+       { }
 };
 MODULE_DEVICE_TABLE(acpi, bmi160_acpi_match);
 
 static const struct of_device_id bmi160_of_match[] = {
        { .compatible = "bosch,bmi120" },
        { .compatible = "bosch,bmi160" },
-       { },
+       { }
 };
 MODULE_DEVICE_TABLE(of, bmi160_of_match);
 
index 1a67f5c..e6cd9dc 100644 (file)
@@ -157,7 +157,7 @@ static const struct iio_chan_spec_ext_info inv_icm42600_accel_ext_infos[] = {
                           &inv_icm42600_accel_power_mode_enum),
        IIO_ENUM("power_mode", IIO_SHARED_BY_TYPE,
                 &inv_icm42600_accel_power_mode_enum),
-       {},
+       { }
 };
 
 static const struct iio_chan_spec inv_icm42600_accel_channels[] = {
index 70bac8c..b4d7ce1 100644 (file)
@@ -57,7 +57,7 @@ enum inv_icm42600_gyro_scan {
 
 static const struct iio_chan_spec_ext_info inv_icm42600_gyro_ext_infos[] = {
        IIO_MOUNT_MATRIX(IIO_SHARED_BY_ALL, inv_icm42600_get_mount_matrix),
-       {},
+       { }
 };
 
 static const struct iio_chan_spec inv_icm42600_gyro_channels[] = {
index a83a47a..7e4d3ea 100644 (file)
@@ -109,7 +109,7 @@ static const struct of_device_id inv_icm42600_of_matches[] = {
                .compatible = "invensense,icm42631",
                .data = (void *)INV_CHIP_ICM42631,
        },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(of, inv_icm42600_of_matches);
 
index 53956cd..13e2e7d 100644 (file)
@@ -106,7 +106,7 @@ static const struct of_device_id inv_icm42600_of_matches[] = {
                .compatible = "invensense,icm42631",
                .data = (void *)INV_CHIP_ICM42631,
        },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(of, inv_icm42600_of_matches);
 
index 373e59f..a9bcf02 100644 (file)
@@ -39,7 +39,7 @@ static const struct dmi_system_id inv_mpu_dev_list[] = {
                },
        },
        /* Add more matching tables here..*/
-       {}
+       { }
 };
 
 static int asus_acpi_get_sensor_info(struct acpi_device *adev,
index 91d77f9..8dc6181 100644 (file)
@@ -192,7 +192,7 @@ static const struct i2c_device_id inv_mpu_id[] = {
        {"iam20680", INV_IAM20680},
        {"iam20680hp", INV_IAM20680HP},
        {"iam20680ht", INV_IAM20680HT},
-       {}
+       { }
 };
 
 MODULE_DEVICE_TABLE(i2c, inv_mpu_id);
@@ -276,7 +276,7 @@ MODULE_DEVICE_TABLE(of, inv_of_match);
 
 static const struct acpi_device_id inv_acpi_match[] = {
        {"INVN6500", INV_MPU6500},
-       { },
+       { }
 };
 MODULE_DEVICE_TABLE(acpi, inv_acpi_match);
 
index 20de6eb..1f4c621 100644 (file)
@@ -83,7 +83,7 @@ static const struct spi_device_id inv_mpu_id[] = {
        {"iam20680", INV_IAM20680},
        {"iam20680hp", INV_IAM20680HP},
        {"iam20680ht", INV_IAM20680HT},
-       {}
+       { }
 };
 
 MODULE_DEVICE_TABLE(spi, inv_mpu_id);
@@ -163,7 +163,7 @@ MODULE_DEVICE_TABLE(of, inv_of_match);
 
 static const struct acpi_device_id inv_acpi_match[] = {
        {"INVN6000", INV_MPU6000},
-       { },
+       { }
 };
 MODULE_DEVICE_TABLE(acpi, inv_acpi_match);
 
index e19c5d3..2bdfb26 100644 (file)
@@ -1487,7 +1487,7 @@ static const struct dev_pm_ops kmx61_pm_ops = {
 
 static const struct i2c_device_id kmx61_id[] = {
        { "kmx611021" },
-       {}
+       { }
 };
 
 MODULE_DEVICE_TABLE(i2c, kmx61_id);
index 25e1de8..7c93321 100644 (file)
@@ -138,13 +138,13 @@ static const struct of_device_id st_lsm6dsx_i2c_of_match[] = {
                .compatible = "st,asm330lhhxg1",
                .data = (void *)ST_ASM330LHHXG1_ID,
        },
-       {},
+       { }
 };
 MODULE_DEVICE_TABLE(of, st_lsm6dsx_i2c_of_match);
 
 static const struct acpi_device_id st_lsm6dsx_i2c_acpi_match[] = {
        { "SMO8B30", ST_LSM6DS3TRC_ID, },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(acpi, st_lsm6dsx_i2c_acpi_match);
 
@@ -173,7 +173,7 @@ static const struct i2c_device_id st_lsm6dsx_i2c_id_table[] = {
        { ST_ISM330IS_DEV_NAME, ST_ISM330IS_ID },
        { ST_ASM330LHB_DEV_NAME, ST_ASM330LHB_ID },
        { ST_ASM330LHHXG1_DEV_NAME, ST_ASM330LHHXG1_ID },
-       {},
+       { }
 };
 MODULE_DEVICE_TABLE(i2c, st_lsm6dsx_i2c_id_table);
 
index f968f32..cb5c5d7 100644 (file)
@@ -17,7 +17,7 @@
 static const struct i3c_device_id st_lsm6dsx_i3c_ids[] = {
        I3C_DEVICE(0x0104, 0x006C, (void *)ST_LSM6DSO_ID),
        I3C_DEVICE(0x0104, 0x006B, (void *)ST_LSM6DSR_ID),
-       { /* sentinel */ },
+       { }
 };
 MODULE_DEVICE_TABLE(i3c, st_lsm6dsx_i3c_ids);
 
index 4b4b6d4..3389b15 100644 (file)
@@ -133,7 +133,7 @@ static const struct of_device_id st_lsm6dsx_spi_of_match[] = {
                .compatible = "st,asm330lhhxg1",
                .data = (void *)ST_ASM330LHHXG1_ID,
        },
-       {},
+       { }
 };
 MODULE_DEVICE_TABLE(of, st_lsm6dsx_spi_of_match);
 
@@ -162,7 +162,7 @@ static const struct spi_device_id st_lsm6dsx_spi_id_table[] = {
        { ST_ISM330IS_DEV_NAME, ST_ISM330IS_ID },
        { ST_ASM330LHB_DEV_NAME, ST_ASM330LHB_ID },
        { ST_ASM330LHHXG1_DEV_NAME, ST_ASM330LHHXG1_ID },
-       {},
+       { }
 };
 MODULE_DEVICE_TABLE(spi, st_lsm6dsx_spi_id_table);
 
index 8cc0714..4232a9d 100644 (file)
@@ -28,20 +28,20 @@ static const struct of_device_id st_lsm9ds0_of_match[] = {
                .compatible = "st,lsm9ds0-imu",
                .data = LSM9DS0_IMU_DEV_NAME,
        },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(of, st_lsm9ds0_of_match);
 
 static const struct i2c_device_id st_lsm9ds0_id_table[] = {
        { LSM303D_IMU_DEV_NAME },
        { LSM9DS0_IMU_DEV_NAME },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(i2c, st_lsm9ds0_id_table);
 
 static const struct acpi_device_id st_lsm9ds0_acpi_match[] = {
        {"ACCL0001", (kernel_ulong_t)LSM303D_IMU_DEV_NAME},
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(acpi, st_lsm9ds0_acpi_match);
 
index 806e55f..acea8a0 100644 (file)
@@ -28,14 +28,14 @@ static const struct of_device_id st_lsm9ds0_of_match[] = {
                .compatible = "st,lsm9ds0-imu",
                .data = LSM9DS0_IMU_DEV_NAME,
        },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(of, st_lsm9ds0_of_match);
 
 static const struct spi_device_id st_lsm9ds0_id_table[] = {
        { LSM303D_IMU_DEV_NAME },
        { LSM9DS0_IMU_DEV_NAME },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(spi, st_lsm9ds0_id_table);
 
index 2d91caf..032e6ca 100644 (file)
@@ -230,7 +230,7 @@ static int acpi_als_add(struct acpi_device *device)
 
 static const struct acpi_device_id acpi_als_device_ids[] = {
        {"ACPI0008", 0},
-       {},
+       { }
 };
 
 MODULE_DEVICE_TABLE(acpi, acpi_als_device_ids);
index 9240983..e321f89 100644 (file)
@@ -820,7 +820,7 @@ static int adux1020_probe(struct i2c_client *client)
 
 static const struct i2c_device_id adux1020_id[] = {
        { "adux1020" },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(i2c, adux1020_id);
 
index 6d5115b..6f301c0 100644 (file)
@@ -190,7 +190,7 @@ MODULE_DEVICE_TABLE(i2c, al3000a_id);
 
 static const struct of_device_id al3000a_of_match[] = {
        { .compatible = "dynaimage,al3000a" },
-       { /* sentinel */ }
+       { }
 };
 MODULE_DEVICE_TABLE(of, al3000a_of_match);
 
index 8e703c8..0932fa2 100644 (file)
@@ -219,13 +219,13 @@ static DEFINE_SIMPLE_DEV_PM_OPS(al3010_pm_ops, al3010_suspend, al3010_resume);
 
 static const struct i2c_device_id al3010_id[] = {
        {"al3010", },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(i2c, al3010_id);
 
 static const struct of_device_id al3010_of_match[] = {
        { .compatible = "dynaimage,al3010", },
-       {},
+       { }
 };
 MODULE_DEVICE_TABLE(of, al3010_of_match);
 
index 31f5e03..63f5a85 100644 (file)
@@ -247,19 +247,19 @@ static DEFINE_SIMPLE_DEV_PM_OPS(al3320a_pm_ops, al3320a_suspend,
 
 static const struct i2c_device_id al3320a_id[] = {
        { "al3320a" },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(i2c, al3320a_id);
 
 static const struct of_device_id al3320a_of_match[] = {
        { .compatible = "dynaimage,al3320a", },
-       {},
+       { }
 };
 MODULE_DEVICE_TABLE(of, al3320a_of_match);
 
 static const struct acpi_device_id al3320a_acpi_match[] = {
        {"CALS0001"},
-       { },
+       { }
 };
 MODULE_DEVICE_TABLE(acpi, al3320a_acpi_match);
 
index d30441d..0003a29 100644 (file)
@@ -1157,7 +1157,7 @@ static const struct dev_pm_ops apds9960_pm_ops = {
 
 static const struct i2c_device_id apds9960_id[] = {
        { "apds9960" },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(i2c, apds9960_id);
 
index 475f449..c7c877d 100644 (file)
@@ -264,7 +264,7 @@ MODULE_DEVICE_TABLE(i2c, bh1780_id);
 
 static const struct of_device_id of_bh1780_match[] = {
        { .compatible = "rohm,bh1780gli", },
-       {},
+       { }
 };
 MODULE_DEVICE_TABLE(of, of_bh1780_match);
 
index 5b00ad2..e864d2e 100644 (file)
@@ -369,7 +369,7 @@ static void cm3232_remove(struct i2c_client *client)
 
 static const struct i2c_device_id cm3232_id[] = {
        { "cm3232" },
-       {}
+       { }
 };
 
 static int cm3232_suspend(struct device *dev)
@@ -406,7 +406,7 @@ MODULE_DEVICE_TABLE(i2c, cm3232_id);
 
 static const struct of_device_id cm3232_of_match[] = {
        {.compatible = "capella,cm3232"},
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(of, cm3232_of_match);
 
index 79a64e2..79ad6e2 100644 (file)
@@ -251,13 +251,13 @@ static int cm3323_probe(struct i2c_client *client)
 
 static const struct i2c_device_id cm3323_id[] = {
        { "cm3323" },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(i2c, cm3323_id);
 
 static const struct of_device_id cm3323_of_match[] = {
        { .compatible = "capella,cm3323", },
-       { /* sentinel */ }
+       { }
 };
 MODULE_DEVICE_TABLE(of, cm3323_of_match);
 
index 675c0fd..0c17378 100644 (file)
@@ -307,7 +307,7 @@ static DEFINE_SIMPLE_DEV_PM_OPS(cm3605_dev_pm_ops, cm3605_pm_suspend,
 
 static const struct of_device_id cm3605_of_match[] = {
        {.compatible = "capella,cm3605"},
-       { },
+       { }
 };
 MODULE_DEVICE_TABLE(of, cm3605_of_match);
 
index 19e529c..815806c 100644 (file)
@@ -249,7 +249,7 @@ static const struct platform_device_id cros_ec_light_prox_ids[] = {
        {
                .name = "cros-ec-light",
        },
-       { /* sentinel */ }
+       { }
 };
 MODULE_DEVICE_TABLE(platform, cros_ec_light_prox_ids);
 
index d56ee21..42859e5 100644 (file)
@@ -700,7 +700,7 @@ MODULE_DEVICE_TABLE(i2c, gp2ap002_id_table);
 static const struct of_device_id gp2ap002_of_match[] = {
        { .compatible = "sharp,gp2ap002a00f" },
        { .compatible = "sharp,gp2ap002s00f" },
-       { },
+       { }
 };
 MODULE_DEVICE_TABLE(of, gp2ap002_of_match);
 
index aa4c72d..830e5ae 100644 (file)
@@ -456,7 +456,7 @@ static const struct platform_device_id hid_als_ids[] = {
                /* Format: HID-SENSOR-custom_sensor_tag-usage_id_in_hex_lowercase */
                .name = "HID-SENSOR-LISS-0041",
        },
-       { /* sentinel */ }
+       { }
 };
 MODULE_DEVICE_TABLE(platform, hid_als_ids);
 
index 3a7b488..6143e45 100644 (file)
@@ -359,7 +359,7 @@ static const struct platform_device_id hid_prox_ids[] = {
                /* Format: HID-SENSOR-tag-usage_id_in_hex_lowercase */
                .name = "HID-SENSOR-LISS-0226",
        },
-       { /* sentinel */ }
+       { }
 };
 MODULE_DEVICE_TABLE(platform, hid_prox_ids);
 
index 201eae1..1b4c184 100644 (file)
@@ -824,7 +824,7 @@ static const struct acpi_device_id isl29018_acpi_match[] = {
        {"ISL29018", isl29018},
        {"ISL29023", isl29023},
        {"ISL29035", isl29035},
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(acpi, isl29018_acpi_match);
 
@@ -832,7 +832,7 @@ static const struct i2c_device_id isl29018_id[] = {
        {"isl29018", isl29018},
        {"isl29023", isl29023},
        {"isl29035", isl29035},
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(i2c, isl29018_id);
 
index 95bfb3f..609ebf0 100644 (file)
@@ -680,7 +680,7 @@ static DEFINE_RUNTIME_DEV_PM_OPS(isl29028_pm_ops, isl29028_suspend,
 static const struct i2c_device_id isl29028_id[] = {
        { "isl29028" },
        { "isl29030" },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(i2c, isl29028_id);
 
@@ -688,7 +688,7 @@ static const struct of_device_id isl29028_of_match[] = {
        { .compatible = "isl,isl29028", }, /* for backward compat., don't use */
        { .compatible = "isil,isl29028", },
        { .compatible = "isil,isl29030", },
-       { },
+       { }
 };
 MODULE_DEVICE_TABLE(of, isl29028_of_match);
 
index e7ba934..fa4677c 100644 (file)
@@ -424,7 +424,7 @@ static DEFINE_SIMPLE_DEV_PM_OPS(jsa1212_pm_ops, jsa1212_suspend,
 
 static const struct acpi_device_id jsa1212_acpi_match[] = {
        {"JSA1212", 0},
-       { },
+       { }
 };
 MODULE_DEVICE_TABLE(acpi, jsa1212_acpi_match);
 
index df664f3..ee59bbb 100644 (file)
@@ -717,13 +717,13 @@ static DEFINE_SIMPLE_DEV_PM_OPS(ltr390_pm_ops, ltr390_suspend, ltr390_resume);
 
 static const struct i2c_device_id ltr390_id[] = {
        { "ltr390" },
-       { /* Sentinel */ }
+       { }
 };
 MODULE_DEVICE_TABLE(i2c, ltr390_id);
 
 static const struct of_device_id ltr390_of_table[] = {
        { .compatible = "liteon,ltr390" },
-       { /* Sentinel */ }
+       { }
 };
 MODULE_DEVICE_TABLE(of, ltr390_of_table);
 
index 23fd071..8d8051c 100644 (file)
@@ -541,7 +541,7 @@ static const struct iio_chan_spec_ext_info ltr501_ext_info[] = {
                .shared = IIO_SEPARATE,
                .read = ltr501_read_near_level,
        },
-       { /* sentinel */ }
+       { }
 };
 
 static const struct iio_event_spec ltr501_als_event_spec[] = {
@@ -1602,7 +1602,7 @@ static const struct acpi_device_id ltr_acpi_match[] = {
        { "LTER0301", ltr301 },
        /* https://www.catalog.update.microsoft.com/Search.aspx?q=lter0303 */
        { "LTER0303", ltr303 },
-       { },
+       { }
 };
 MODULE_DEVICE_TABLE(acpi, ltr_acpi_match);
 
@@ -1620,7 +1620,7 @@ static const struct of_device_id ltr501_of_match[] = {
        { .compatible = "liteon,ltr559", },
        { .compatible = "liteon,ltr301", },
        { .compatible = "liteon,ltr303", },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(of, ltr501_of_match);
 
index dbec1e7..61f57a8 100644 (file)
@@ -554,7 +554,7 @@ static const struct ltr_chip_info ltrf216a_chip_info = {
 static const struct i2c_device_id ltrf216a_id[] = {
        { "ltr308", .driver_data = (kernel_ulong_t)&ltr308_chip_info },
        { "ltrf216a", .driver_data = (kernel_ulong_t)&ltrf216a_chip_info },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(i2c, ltrf216a_id);
 
@@ -563,7 +563,7 @@ static const struct of_device_id ltrf216a_of_match[] = {
        { .compatible = "liteon,ltrf216a", .data = &ltrf216a_chip_info },
        /* For Valve's Steamdeck device, an ACPI platform using PRP0001 */
        { .compatible = "ltr,ltrf216a", .data = &ltrf216a_chip_info },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(of, ltrf216a_of_match);
 
index 6cf6015..ba4eb82 100644 (file)
@@ -448,7 +448,7 @@ MODULE_DEVICE_TABLE(i2c, opt4001_id);
 static const struct of_device_id opt4001_of_match[] = {
        { .compatible = "ti,opt4001-sot-5x3", .data = &opt4001_sot_5x3_info},
        { .compatible = "ti,opt4001-picostar", .data = &opt4001_picostar_info},
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(of, opt4001_of_match);
 
index b920bf8..8885852 100644 (file)
@@ -456,14 +456,14 @@ static const struct dev_pm_ops pa12203001_pm_ops = {
 
 static const struct acpi_device_id pa12203001_acpi_match[] = {
        { "TXCPA122", 0 },
-       {}
+       { }
 };
 
 MODULE_DEVICE_TABLE(acpi, pa12203001_acpi_match);
 
 static const struct i2c_device_id pa12203001_id[] = {
                { "txcpa122" },
-               {}
+               { }
 };
 
 MODULE_DEVICE_TABLE(i2c, pa12203001_id);
index f542824..5d9bb4d 100644 (file)
@@ -41,13 +41,13 @@ static int st_uvis25_i2c_probe(struct i2c_client *client)
 
 static const struct of_device_id st_uvis25_i2c_of_match[] = {
        { .compatible = "st,uvis25", },
-       {},
+       { }
 };
 MODULE_DEVICE_TABLE(of, st_uvis25_i2c_of_match);
 
 static const struct i2c_device_id st_uvis25_i2c_id_table[] = {
        { ST_UVIS25_DEV_NAME },
-       {},
+       { }
 };
 MODULE_DEVICE_TABLE(i2c, st_uvis25_i2c_id_table);
 
index 18edc6a..a5aad74 100644 (file)
@@ -42,13 +42,13 @@ static int st_uvis25_spi_probe(struct spi_device *spi)
 
 static const struct of_device_id st_uvis25_spi_of_match[] = {
        { .compatible = "st,uvis25", },
-       {},
+       { }
 };
 MODULE_DEVICE_TABLE(of, st_uvis25_spi_of_match);
 
 static const struct spi_device_id st_uvis25_spi_id_table[] = {
        { ST_UVIS25_DEV_NAME },
-       {},
+       { }
 };
 MODULE_DEVICE_TABLE(spi, st_uvis25_spi_id_table);
 
index b81cc44..deada9b 100644 (file)
@@ -165,7 +165,7 @@ static const struct iio_chan_spec_ext_info stk3310_ext_info[] = {
                .shared = IIO_SEPARATE,
                .read = stk3310_read_near_level,
        },
-       { /* sentinel */ }
+       { }
 };
 
 static const struct iio_chan_spec stk3310_channels[] = {
@@ -703,7 +703,7 @@ static const struct i2c_device_id stk3310_i2c_id[] = {
        { "STK3310" },
        { "STK3311" },
        { "STK3335" },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(i2c, stk3310_i2c_id);
 
@@ -711,7 +711,7 @@ static const struct acpi_device_id stk3310_acpi_id[] = {
        {"STK3013", 0},
        {"STK3310", 0},
        {"STK3311", 0},
-       {}
+       { }
 };
 
 MODULE_DEVICE_TABLE(acpi, stk3310_acpi_id);
@@ -721,7 +721,7 @@ static const struct of_device_id stk3310_of_match[] = {
        { .compatible = "sensortek,stk3310", },
        { .compatible = "sensortek,stk3311", },
        { .compatible = "sensortek,stk3335", },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(of, stk3310_of_match);
 
index f1fe764..f2af1cd 100644 (file)
@@ -843,7 +843,7 @@ static const struct i2c_device_id tsl2563_id[] = {
        { "tsl2561", 1 },
        { "tsl2562", 2 },
        { "tsl2563", 3 },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(i2c, tsl2563_id);
 
@@ -852,7 +852,7 @@ static const struct of_device_id tsl2563_of_match[] = {
        { .compatible = "amstaos,tsl2561" },
        { .compatible = "amstaos,tsl2562" },
        { .compatible = "amstaos,tsl2563" },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(of, tsl2563_of_match);
 
index 02ad116..fc3b0c4 100644 (file)
@@ -922,7 +922,7 @@ static const struct i2c_device_id tsl2583_idtable[] = {
        { "tsl2580", 0 },
        { "tsl2581", 1 },
        { "tsl2583", 2 },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(i2c, tsl2583_idtable);
 
@@ -930,7 +930,7 @@ static const struct of_device_id tsl2583_of_match[] = {
        { .compatible = "amstaos,tsl2580", },
        { .compatible = "amstaos,tsl2581", },
        { .compatible = "amstaos,tsl2583", },
-       { },
+       { }
 };
 MODULE_DEVICE_TABLE(of, tsl2583_of_match);
 
index b81ca6f..08476f1 100644 (file)
@@ -1204,7 +1204,7 @@ static int tsl2591_probe(struct i2c_client *client)
 
 static const struct of_device_id tsl2591_of_match[] = {
        { .compatible = "amstaos,tsl2591"},
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(of, tsl2591_of_match);
 
index 349afdc..0b17110 100644 (file)
@@ -1899,7 +1899,7 @@ static const struct i2c_device_id tsl2772_idtable[] = {
        { "tsl2772", tsl2772 },
        { "tmd2772", tmd2772 },
        { "apds9930", apds9930 },
-       {}
+       { }
 };
 
 MODULE_DEVICE_TABLE(i2c, tsl2772_idtable);
@@ -1916,7 +1916,7 @@ static const struct of_device_id tsl2772_of_match[] = {
        { .compatible = "amstaos,tsl2772" },
        { .compatible = "amstaos,tmd2772" },
        { .compatible = "avago,apds9930" },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(of, tsl2772_of_match);
 
index c83114a..61a0957 100644 (file)
@@ -949,21 +949,21 @@ static const struct dev_pm_ops us5182d_pm_ops = {
 
 static const struct acpi_device_id us5182d_acpi_match[] = {
        { "USD5182", 0 },
-       {}
+       { }
 };
 
 MODULE_DEVICE_TABLE(acpi, us5182d_acpi_match);
 
 static const struct i2c_device_id us5182d_id[] = {
        { "usd5182" },
-       {}
+       { }
 };
 
 MODULE_DEVICE_TABLE(i2c, us5182d_id);
 
 static const struct of_device_id us5182d_of_match[] = {
        { .compatible = "upisemi,usd5182" },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(of, us5182d_of_match);
 
index d7489be..90e7d44 100644 (file)
@@ -1745,7 +1745,7 @@ static const struct iio_chan_spec_ext_info vcnl4000_ext_info[] = {
                .shared = IIO_SEPARATE,
                .read = vcnl4000_read_near_level,
        },
-       { /* sentinel */ }
+       { }
 };
 
 static const struct iio_event_spec vcnl4000_event_spec[] = {
@@ -2068,7 +2068,7 @@ static const struct of_device_id vcnl_4000_of_match[] = {
                .compatible = "vishay,vcnl4200",
                .data = (void *)VCNL4200,
        },
-       {},
+       { }
 };
 MODULE_DEVICE_TABLE(of, vcnl_4000_of_match);
 
index 216e271..71a594b 100644 (file)
@@ -256,13 +256,13 @@ static int veml6040_probe(struct i2c_client *client)
 
 static const struct i2c_device_id veml6040_id_table[] = {
        {"veml6040"},
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(i2c, veml6040_id_table);
 
 static const struct of_device_id veml6040_of_match[] = {
        {.compatible = "vishay,veml6040"},
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(of, veml6040_of_match);
 
index 859891e..edbb434 100644 (file)
@@ -458,7 +458,7 @@ MODULE_DEVICE_TABLE(i2c, veml6075_id);
 
 static const struct of_device_id veml6075_of_match[] = {
        { .compatible = "vishay,veml6075" },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(of, veml6075_of_match);
 
index 6e2183a..cc4f2e5 100644 (file)
@@ -745,7 +745,7 @@ static int vl6180_probe(struct i2c_client *client)
 
 static const struct of_device_id vl6180_of_match[] = {
        { .compatible = "st,vl6180", },
-       { },
+       { }
 };
 MODULE_DEVICE_TABLE(of, vl6180_of_match);
 
index 08975c6..857c92b 100644 (file)
@@ -704,7 +704,7 @@ ak8974_get_mount_matrix(const struct iio_dev *indio_dev,
 
 static const struct iio_chan_spec_ext_info ak8974_ext_info[] = {
        IIO_MOUNT_MATRIX(IIO_SHARED_BY_DIR, ak8974_get_mount_matrix),
-       { },
+       { }
 };
 
 #define AK8974_AXIS_CHANNEL(axis, index, bits)                         \
@@ -1023,14 +1023,14 @@ static const struct i2c_device_id ak8974_id[] = {
        { "ami306" },
        { "ak8974" },
        { "hscdtd008a" },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(i2c, ak8974_id);
 
 static const struct of_device_id ak8974_of_match[] = {
        { .compatible = "asahi-kasei,ak8974", },
        { .compatible = "alps,hscdtd008a", },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(of, ak8974_of_match);
 
index ef13631..f839357 100644 (file)
@@ -1107,7 +1107,7 @@ static const struct i2c_device_id ak8975_id[] = {
        {"ak09912", (kernel_ulong_t)&ak_def_array[AK09912] },
        {"ak09916", (kernel_ulong_t)&ak_def_array[AK09916] },
        {"ak09918", (kernel_ulong_t)&ak_def_array[AK09918] },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(i2c, ak8975_id);
 
@@ -1122,7 +1122,7 @@ static const struct of_device_id ak8975_of_match[] = {
        { .compatible = "ak09912", .data = &ak_def_array[AK09912] },
        { .compatible = "asahi-kasei,ak09916", .data = &ak_def_array[AK09916] },
        { .compatible = "asahi-kasei,ak09918", .data = &ak_def_array[AK09918] },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(of, ak8975_of_match);
 
index 87b60c4..85eb142 100644 (file)
@@ -457,7 +457,7 @@ static const struct i2c_device_id als31300_id[] = {
                .name = "als31300-2000",
                .driver_data = (kernel_ulong_t)&al31300_variant_2000,
        },
-       { /* sentinel */ }
+       { }
 };
 MODULE_DEVICE_TABLE(i2c, als31300_id);
 
@@ -474,7 +474,7 @@ static const struct of_device_id als31300_of_match[] = {
                .compatible = "allegromicro,als31300-2000",
                .data = &al31300_variant_2000,
        },
-       { /* sentinel */ }
+       { }
 };
 MODULE_DEVICE_TABLE(of, als31300_of_match);
 
index 8cbeda9..b110791 100644 (file)
@@ -42,7 +42,7 @@ static const struct i2c_device_id bmc150_magn_i2c_id[] = {
        { "bmc150_magn" },
        { "bmc156_magn" },
        { "bmm150_magn" },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(i2c, bmc150_magn_i2c_id);
 
index 2d4b8cb..896b1d2 100644 (file)
@@ -37,7 +37,7 @@ static const struct spi_device_id bmc150_magn_spi_id[] = {
        {"bmc150_magn", 0},
        {"bmc156_magn", 0},
        {"bmm150_magn", 0},
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(spi, bmc150_magn_spi_id);
 
index 97ddaa2..c673f93 100644 (file)
@@ -563,7 +563,7 @@ static const struct platform_device_id hid_magn_3d_ids[] = {
                /* Format: HID-SENSOR-usage_id_in_hex_lowercase */
                .name = "HID-SENSOR-200083",
        },
-       { /* sentinel */ }
+       { }
 };
 MODULE_DEVICE_TABLE(platform, hid_magn_3d_ids);
 
index 657a309..b417099 100644 (file)
@@ -84,7 +84,7 @@ static const struct of_device_id hmc5843_of_match[] = {
        { .compatible = "honeywell,hmc5883", .data = (void *)HMC5883_ID },
        { .compatible = "honeywell,hmc5883l", .data = (void *)HMC5883L_ID },
        { .compatible = "honeywell,hmc5983", .data = (void *)HMC5983_ID },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(of, hmc5843_of_match);
 
index dd480a4..e08a57c 100644 (file)
@@ -556,13 +556,13 @@ MODULE_DEVICE_TABLE(of, mmc35240_of_match);
 
 static const struct acpi_device_id mmc35240_acpi_match[] = {
        {"MMC35240", 0},
-       { },
+       { }
 };
 MODULE_DEVICE_TABLE(acpi, mmc35240_acpi_match);
 
 static const struct i2c_device_id mmc35240_id[] = {
        { "mmc35240" },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(i2c, mmc35240_id);
 
index 1672b27..ed70e78 100644 (file)
@@ -54,7 +54,7 @@ static const struct of_device_id st_magn_of_match[] = {
                .compatible = "st,lsm303c-magn",
                .data = LSM303C_MAGN_DEV_NAME,
        },
-       {},
+       { }
 };
 MODULE_DEVICE_TABLE(of, st_magn_of_match);
 
@@ -102,7 +102,7 @@ static const struct i2c_device_id st_magn_id_table[] = {
        { LSM9DS1_MAGN_DEV_NAME },
        { IIS2MDC_MAGN_DEV_NAME },
        { LSM303C_MAGN_DEV_NAME },
-       {},
+       { }
 };
 MODULE_DEVICE_TABLE(i2c, st_magn_id_table);
 
index fe4d0e6..6881636 100644 (file)
@@ -49,7 +49,7 @@ static const struct of_device_id st_magn_of_match[] = {
                .compatible = "st,lsm303c-magn",
                .data = LSM303C_MAGN_DEV_NAME,
        },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(of, st_magn_of_match);
 
@@ -94,7 +94,7 @@ static const struct spi_device_id st_magn_id_table[] = {
        { LSM9DS1_MAGN_DEV_NAME },
        { IIS2MDC_MAGN_DEV_NAME },
        { LSM303C_MAGN_DEV_NAME },
-       {},
+       { }
 };
 MODULE_DEVICE_TABLE(spi, st_magn_id_table);
 
index 4187abe..2ca5c26 100644 (file)
@@ -712,13 +712,13 @@ static DEFINE_RUNTIME_DEV_PM_OPS(tmag5273_pm_ops,
 
 static const struct i2c_device_id tmag5273_id[] = {
        { "tmag5273" },
-       { /* sentinel */ }
+       { }
 };
 MODULE_DEVICE_TABLE(i2c, tmag5273_id);
 
 static const struct of_device_id tmag5273_of_match[] = {
        { .compatible = "ti,tmag5273" },
-       { /* sentinel */ }
+       { }
 };
 MODULE_DEVICE_TABLE(of, tmag5273_of_match);
 
index 28012b2..46bc64e 100644 (file)
@@ -1585,7 +1585,7 @@ static const struct i2c_device_id yas5xx_id[] = {
        {"yas532", (kernel_ulong_t)&yas5xx_chip_info_tbl[yas532] },
        {"yas533", (kernel_ulong_t)&yas5xx_chip_info_tbl[yas533] },
        {"yas537", (kernel_ulong_t)&yas5xx_chip_info_tbl[yas537] },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(i2c, yas5xx_id);
 
@@ -1594,7 +1594,7 @@ static const struct of_device_id yas5xx_of_match[] = {
        { .compatible = "yamaha,yas532", &yas5xx_chip_info_tbl[yas532] },
        { .compatible = "yamaha,yas533", &yas5xx_chip_info_tbl[yas533] },
        { .compatible = "yamaha,yas537", &yas5xx_chip_info_tbl[yas537] },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(of, yas5xx_of_match);
 
index c309d99..b742ca9 100644 (file)
@@ -448,7 +448,7 @@ static int mux_probe(struct platform_device *pdev)
 
 static const struct of_device_id mux_match[] = {
        { .compatible = "io-channel-mux" },
-       { /* sentinel */ }
+       { }
 };
 MODULE_DEVICE_TABLE(of, mux_match);
 
index 429035b..4e23a59 100644 (file)
@@ -399,7 +399,7 @@ static const struct platform_device_id hid_incl_3d_ids[] = {
                /* Format: HID-SENSOR-usage_id_in_hex_lowercase */
                .name = "HID-SENSOR-200086",
        },
-       { /* sentinel */ }
+       { }
 };
 MODULE_DEVICE_TABLE(platform, hid_incl_3d_ids);
 
index 96f0398..c4b18fd 100644 (file)
@@ -351,7 +351,7 @@ static const struct platform_device_id hid_dev_rot_ids[] = {
                /* Geomagnetic orientation(AM) sensor */
                .name = "HID-SENSOR-2000c1",
        },
-       { /* sentinel */ }
+       { }
 };
 MODULE_DEVICE_TABLE(platform, hid_dev_rot_ids);
 
index 423bbb8..bff7039 100644 (file)
@@ -358,7 +358,7 @@ static const struct platform_device_id hid_hinge_ids[] = {
                /* Format: HID-SENSOR-INT-usage_id_in_hex_lowercase */
                .name = "HID-SENSOR-INT-020b",
        },
-       { /* sentinel */ }
+       { }
 };
 MODULE_DEVICE_TABLE(platform, hid_hinge_ids);
 
index b17941e..672b1ca 100644 (file)
@@ -199,7 +199,7 @@ static const struct of_device_id ad5272_dt_ids[] = {
        { .compatible = "adi,ad5272-100", .data = (void *)AD5272_100 },
        { .compatible = "adi,ad5274-020", .data = (void *)AD5274_020 },
        { .compatible = "adi,ad5274-100", .data = (void *)AD5274_100 },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(of, ad5272_dt_ids);
 
@@ -209,7 +209,7 @@ static const struct i2c_device_id ad5272_id[] = {
        { "ad5272-100", AD5272_100 },
        { "ad5274-020", AD5274_020 },
        { "ad5274-100", AD5274_100 },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(i2c, ad5272_id);
 
index e0526dd..5761f69 100644 (file)
@@ -231,7 +231,7 @@ static const struct of_device_id ds1803_dt_ids[] = {
        { .compatible = "maxim,ds1803-050", .data = &ds1803_cfg[DS1803_050] },
        { .compatible = "maxim,ds1803-100", .data = &ds1803_cfg[DS1803_100] },
        { .compatible = "maxim,ds3502", .data = &ds1803_cfg[DS3502] },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(of, ds1803_dt_ids);
 
@@ -240,7 +240,7 @@ static const struct i2c_device_id ds1803_id[] = {
        { "ds1803-050", (kernel_ulong_t)&ds1803_cfg[DS1803_050] },
        { "ds1803-100", (kernel_ulong_t)&ds1803_cfg[DS1803_100] },
        { "ds3502", (kernel_ulong_t)&ds1803_cfg[DS3502] },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(i2c, ds1803_id);
 
index c8e2481..26390be 100644 (file)
@@ -114,7 +114,7 @@ static const struct of_device_id max5432_dt_ids[] = {
        { .compatible = "maxim,max5433", .data = (void *)MAX5432_OHM_100K },
        { .compatible = "maxim,max5434", .data = (void *)MAX5432_OHM_50K  },
        { .compatible = "maxim,max5435", .data = (void *)MAX5432_OHM_100K },
-       { /* sentinel */ }
+       { }
 };
 MODULE_DEVICE_TABLE(of, max5432_dt_ids);
 
index 4838d2e..3b11b99 100644 (file)
@@ -137,7 +137,7 @@ static const struct acpi_device_id max5487_acpi_match[] = {
        { "MAX5487", 10 },
        { "MAX5488", 50 },
        { "MAX5489", 100 },
-       { },
+       { }
 };
 MODULE_DEVICE_TABLE(acpi, max5487_acpi_match);
 
index 44678d3..a88bb22 100644 (file)
@@ -117,7 +117,7 @@ static const struct i2c_device_id mcp4018_id[] = {
        MCP4018_ID_TABLE("mcp4019-103", MCP4018_103),
        MCP4018_ID_TABLE("mcp4019-503", MCP4018_503),
        MCP4018_ID_TABLE("mcp4019-104", MCP4018_104),
-       { /* sentinel */ }
+       { }
 };
 MODULE_DEVICE_TABLE(i2c, mcp4018_id);
 
@@ -139,7 +139,7 @@ static const struct of_device_id mcp4018_of_match[] = {
        MCP4018_COMPATIBLE("microchip,mcp4019-103", MCP4018_103),
        MCP4018_COMPATIBLE("microchip,mcp4019-503", MCP4018_503),
        MCP4018_COMPATIBLE("microchip,mcp4019-104", MCP4018_104),
-       { /* sentinel */ }
+       { }
 };
 MODULE_DEVICE_TABLE(of, mcp4018_of_match);
 
index 2b73c75..f35fc4a 100644 (file)
@@ -171,7 +171,7 @@ static const struct of_device_id mcp41010_match[] = {
        { .compatible = "microchip,mcp42010", .data = &mcp41010_cfg[MCP42010] },
        { .compatible = "microchip,mcp42050", .data = &mcp41010_cfg[MCP42050] },
        { .compatible = "microchip,mcp42100", .data = &mcp41010_cfg[MCP42100] },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(of, mcp41010_match);
 
@@ -182,7 +182,7 @@ static const struct spi_device_id mcp41010_id[] = {
        { "mcp42010", MCP42010 },
        { "mcp42050", MCP42050 },
        { "mcp42100", MCP42100 },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(spi, mcp41010_id);
 
index 7890c09..9082b55 100644 (file)
@@ -403,7 +403,7 @@ static const struct of_device_id mcp4131_dt_ids[] = {
                .data = &mcp4131_cfg[MCP426x_503] },
        { .compatible = "microchip,mcp4262-104",
                .data = &mcp4131_cfg[MCP426x_104] },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(of, mcp4131_dt_ids);
 
@@ -472,7 +472,7 @@ static const struct spi_device_id mcp4131_id[] = {
        { "mcp4262-103", MCP426x_103 },
        { "mcp4262-503", MCP426x_503 },
        { "mcp4262-104", MCP426x_104 },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(spi, mcp4131_id);
 
index f28880e..9912e91 100644 (file)
@@ -276,7 +276,7 @@ static const struct i2c_device_id mcp4531_id[] = {
        MCP4531_ID_TABLE("mcp4662-103", MCP466x_103),
        MCP4531_ID_TABLE("mcp4662-503", MCP466x_503),
        MCP4531_ID_TABLE("mcp4662-104", MCP466x_104),
-       { /* sentinel */ }
+       { }
 };
 MODULE_DEVICE_TABLE(i2c, mcp4531_id);
 
@@ -350,7 +350,7 @@ static const struct of_device_id mcp4531_of_match[] = {
        MCP4531_COMPATIBLE("microchip,mcp4662-103", MCP466x_103),
        MCP4531_COMPATIBLE("microchip,mcp4662-503", MCP466x_503),
        MCP4531_COMPATIBLE("microchip,mcp4662-104", MCP466x_104),
-       { /* sentinel */ }
+       { }
 };
 MODULE_DEVICE_TABLE(of, mcp4531_of_match);
 
index 8923ccb..a42b577 100644 (file)
@@ -153,7 +153,7 @@ static const struct i2c_device_id tpl0102_id[] = {
        { "cat5140-104", CAT5140_104 },
        { "tpl0102-104", TPL0102_104 },
        { "tpl0401-103", TPL0401_103 },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(i2c, tpl0102_id);
 
index c2c6b2b..030498d 100644 (file)
@@ -400,14 +400,14 @@ static void lmp91000_remove(struct i2c_client *client)
 static const struct of_device_id lmp91000_of_match[] = {
        { .compatible = "ti,lmp91000", },
        { .compatible = "ti,lmp91002", },
-       { },
+       { }
 };
 MODULE_DEVICE_TABLE(of, lmp91000_of_match);
 
 static const struct i2c_device_id lmp91000_id[] = {
        { "lmp91000" },
        { "lmp91002" },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(i2c, lmp91000_id);
 
index 752a63c..a0d956c 100644 (file)
@@ -247,7 +247,7 @@ static const struct i2c_device_id abp060mg_id_table[] = {
        { "abp015pd", ABP015PD },
        { "abp030pd", ABP030PD },
        { "abp060pd", ABP060PD },
-       { /* empty */ },
+       { }
 };
 MODULE_DEVICE_TABLE(i2c, abp060mg_id_table);
 
index 868e1b2..8e459b6 100644 (file)
@@ -33,7 +33,7 @@ static const struct of_device_id bmp280_of_i2c_match[] = {
        { .compatible = "bosch,bme280", .data = &bme280_chip_info },
        { .compatible = "bosch,bmp380", .data = &bmp380_chip_info },
        { .compatible = "bosch,bmp580", .data = &bmp580_chip_info },
-       { },
+       { }
 };
 MODULE_DEVICE_TABLE(of, bmp280_of_i2c_match);
 
@@ -44,7 +44,7 @@ static const struct i2c_device_id bmp280_i2c_id[] = {
        {"bme280", (kernel_ulong_t)&bme280_chip_info },
        {"bmp380", (kernel_ulong_t)&bmp380_chip_info },
        {"bmp580", (kernel_ulong_t)&bmp580_chip_info },
-       { },
+       { }
 };
 MODULE_DEVICE_TABLE(i2c, bmp280_i2c_id);
 
index 0e6e278..c4fded3 100644 (file)
@@ -121,7 +121,7 @@ static const struct of_device_id bmp280_of_spi_match[] = {
        { .compatible = "bosch,bme280", .data = &bme280_chip_info },
        { .compatible = "bosch,bmp380", .data = &bmp380_chip_info },
        { .compatible = "bosch,bmp580", .data = &bmp580_chip_info },
-       { },
+       { }
 };
 MODULE_DEVICE_TABLE(of, bmp280_of_spi_match);
 
index 2649c2f..c6b950c 100644 (file)
@@ -192,7 +192,7 @@ static const struct platform_device_id cros_ec_baro_ids[] = {
        {
                .name = "cros-ec-baro",
        },
-       { /* sentinel */ }
+       { }
 };
 MODULE_DEVICE_TABLE(platform, cros_ec_baro_ids);
 
index e0aa129..48afe5c 100644 (file)
@@ -343,14 +343,14 @@ static int dlh_probe(struct i2c_client *client)
 static const struct of_device_id dlh_of_match[] = {
        { .compatible = "asc,dlhl60d" },
        { .compatible = "asc,dlhl60g" },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(of, dlh_of_match);
 
 static const struct i2c_device_id dlh_id[] = {
        { "dlhl60d",    dlhl60d },
        { "dlhl60g",    dlhl60g },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(i2c, dlh_id);
 
index c6f44f0..8edaa4d 100644 (file)
@@ -888,13 +888,13 @@ static int dps310_probe(struct i2c_client *client)
 
 static const struct i2c_device_id dps310_id[] = {
        { DPS310_DEV_NAME },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(i2c, dps310_id);
 
 static const struct acpi_device_id dps310_acpi_match[] = {
        { "IFX3100" },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(acpi, dps310_acpi_match);
 
index f7273d3..bffeddf 100644 (file)
@@ -339,7 +339,7 @@ static const struct platform_device_id hid_press_ids[] = {
                /* Format: HID-SENSOR-usage_id_in_hex_lowercase */
                .name = "HID-SENSOR-200031",
        },
-       { /* sentinel */ }
+       { }
 };
 MODULE_DEVICE_TABLE(platform, hid_press_ids);
 
index 6f7a167..cbb4aaf 100644 (file)
@@ -273,7 +273,7 @@ MODULE_DEVICE_TABLE(i2c, hp03_id);
 
 static const struct of_device_id hp03_of_match[] = {
        { .compatible = "hoperf,hp03" },
-       { },
+       { }
 };
 MODULE_DEVICE_TABLE(of, hp03_of_match);
 
index 4427409..abe10cc 100644 (file)
@@ -396,13 +396,13 @@ static int hp206c_probe(struct i2c_client *client)
 
 static const struct i2c_device_id hp206c_id[] = {
        {"hp206c"},
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(i2c, hp206c_id);
 
 static const struct acpi_device_id hp206c_acpi_match[] = {
        {"HOP206C", 0},
-       { },
+       { }
 };
 MODULE_DEVICE_TABLE(acpi, hp206c_acpi_match);
 
index 7f2398a..a34ef46 100644 (file)
@@ -48,13 +48,13 @@ static int hsc_i2c_probe(struct i2c_client *client)
 
 static const struct of_device_id hsc_i2c_match[] = {
        { .compatible = "honeywell,hsc030pa" },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(of, hsc_i2c_match);
 
 static const struct i2c_device_id hsc_i2c_id[] = {
        { "hsc030pa" },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(i2c, hsc_i2c_id);
 
index 6076872..5d331b3 100644 (file)
@@ -35,13 +35,13 @@ static int hsc_spi_probe(struct spi_device *spi)
 
 static const struct of_device_id hsc_spi_match[] = {
        { .compatible = "honeywell,hsc030pa" },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(of, hsc_spi_match);
 
 static const struct spi_device_id hsc_spi_id[] = {
        { "hsc030pa" },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(spi, hsc_spi_id);
 
index 888cfa6..4e1d24b 100644 (file)
@@ -85,7 +85,7 @@ static int mpl115_spi_probe(struct spi_device *spi)
 
 static const struct spi_device_id mpl115_spi_ids[] = {
        { "mpl115", 0 },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(spi, mpl115_spi_ids);
 
index 48b23a4..1a48f8d 100644 (file)
@@ -74,13 +74,13 @@ static int mpr_i2c_probe(struct i2c_client *client)
 
 static const struct of_device_id mpr_i2c_match[] = {
        { .compatible = "honeywell,mprls0025pa" },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(of, mpr_i2c_match);
 
 static const struct i2c_device_id mpr_i2c_id[] = {
        { "mprls0025pa" },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(i2c, mpr_i2c_id);
 
index 09f724c..d04102f 100644 (file)
@@ -66,13 +66,13 @@ static int mpr_spi_probe(struct spi_device *spi)
 
 static const struct of_device_id mpr_spi_match[] = {
        { .compatible = "honeywell,mprls0025pa" },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(of, mpr_spi_match);
 
 static const struct spi_device_id mpr_spi_id[] = {
        { "mprls0025pa" },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(spi, mpr_spi_id);
 
index a1767a1..59705a6 100644 (file)
@@ -219,7 +219,7 @@ static const struct i2c_device_id ms5637_id[] = {
        {"ms5805", (kernel_ulong_t)&ms5805_data },
        {"ms5837", (kernel_ulong_t)&ms5837_data },
        {"ms8607-temppressure", (kernel_ulong_t)&ms8607_data },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(i2c, ms5637_id);
 
@@ -229,7 +229,7 @@ static const struct of_device_id ms5637_of_match[] = {
        { .compatible = "meas,ms5805", .data = &ms5805_data },
        { .compatible = "meas,ms5837", .data = &ms5837_data },
        { .compatible = "meas,ms8607-temppressure", .data = &ms8607_data },
-       { },
+       { }
 };
 MODULE_DEVICE_TABLE(of, ms5637_of_match);
 
index c482317..c651ead 100644 (file)
@@ -882,13 +882,13 @@ static int bm1390_probe(struct i2c_client *i2c)
 
 static const struct of_device_id bm1390_of_match[] = {
        { .compatible = "rohm,bm1390glv-z" },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(of, bm1390_of_match);
 
 static const struct i2c_device_id bm1390_id[] = {
        { "bm1390glv-z", },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(i2c, bm1390_id);
 
index b7b66dd..0f50bac 100644 (file)
@@ -50,13 +50,13 @@ static const struct of_device_id st_press_of_match[] = {
                .compatible = "st,lps22df",
                .data = LPS22DF_PRESS_DEV_NAME,
        },
-       {},
+       { }
 };
 MODULE_DEVICE_TABLE(of, st_press_of_match);
 
 static const struct acpi_device_id st_press_acpi_match[] = {
        {"SNO9210", LPS22HB},
-       { },
+       { }
 };
 MODULE_DEVICE_TABLE(acpi, st_press_acpi_match);
 
@@ -69,7 +69,7 @@ static const struct i2c_device_id st_press_id_table[] = {
        { LPS35HW_PRESS_DEV_NAME, LPS35HW },
        { LPS22HH_PRESS_DEV_NAME, LPS22HH },
        { LPS22DF_PRESS_DEV_NAME, LPS22DF },
-       {},
+       { }
 };
 MODULE_DEVICE_TABLE(i2c, st_press_id_table);
 
index 1a4bd1a..39827e6 100644 (file)
@@ -55,7 +55,7 @@ static const struct of_device_id st_press_of_match[] = {
                .compatible = "st,lps22df",
                .data = LPS22DF_PRESS_DEV_NAME,
        },
-       {},
+       { }
 };
 MODULE_DEVICE_TABLE(of, st_press_of_match);
 
@@ -106,7 +106,7 @@ static const struct spi_device_id st_press_id_table[] = {
        { "lps25h-press", },
        { "lps331ap-press" },
        { "lps22hb-press" },
-       {},
+       { }
 };
 MODULE_DEVICE_TABLE(spi, st_press_id_table);
 
index c678f5b..8a695b0 100644 (file)
@@ -63,7 +63,7 @@ static void zpa2326_remove_spi(struct spi_device *spi)
 
 static const struct spi_device_id zpa2326_spi_ids[] = {
        { "zpa2326", 0 },
-       { },
+       { }
 };
 MODULE_DEVICE_TABLE(spi, zpa2326_spi_ids);
 
index 9d3caf2..d48d7b5 100644 (file)
@@ -444,13 +444,13 @@ static int as3935_probe(struct spi_device *spi)
 
 static const struct of_device_id as3935_of_match[] = {
        { .compatible = "ams,as3935", },
-       { /* sentinel */ },
+       { }
 };
 MODULE_DEVICE_TABLE(of, as3935_of_match);
 
 static const struct spi_device_id as3935_id[] = {
        {"as3935", 0},
-       {},
+       { }
 };
 MODULE_DEVICE_TABLE(spi, as3935_id);
 
index d2ddb7d..1f9de70 100644 (file)
@@ -245,7 +245,7 @@ static void cros_ec_mkbp_proximity_remove(struct platform_device *pdev)
 
 static const struct of_device_id cros_ec_mkbp_proximity_of_match[] = {
        { .compatible = "google,cros-ec-mkbp-proximity" },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(of, cros_ec_mkbp_proximity_of_match);
 
index 5be5f49..f2037fd 100644 (file)
@@ -1190,13 +1190,13 @@ static DEFINE_SIMPLE_DEV_PM_OPS(hx9023s_pm_ops, hx9023s_suspend,
 
 static const struct of_device_id hx9023s_of_match[] = {
        { .compatible = "tyhx,hx9023s" },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(of, hx9023s_of_match);
 
 static const struct i2c_device_id hx9023s_id[] = {
        { "hx9023s" },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(i2c, hx9023s_id);
 
index b0ffd35..1b1b6df 100644 (file)
@@ -941,7 +941,7 @@ static const struct of_device_id irsd200_of_match[] = {
        {
                .compatible = "murata,irsd200",
        },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(of, irsd200_of_match);
 
index dc66ca9..d1510fe 100644 (file)
@@ -481,7 +481,7 @@ static const struct iio_chan_spec_ext_info isl29501_ext_info[] = {
        _ISL29501_EXT_INFO("calib_phase_temp_b", REG_CALIB_PHASE_TEMP_B),
        _ISL29501_EXT_INFO("calib_phase_light_a", REG_CALIB_PHASE_LIGHT_A),
        _ISL29501_EXT_INFO("calib_phase_light_b", REG_CALIB_PHASE_LIGHT_B),
-       { },
+       { }
 };
 
 #define ISL29501_DISTANCE_SCAN_INDEX 0
@@ -990,7 +990,7 @@ static int isl29501_probe(struct i2c_client *client)
 
 static const struct i2c_device_id isl29501_id[] = {
        { "isl29501" },
-       {}
+       { }
 };
 
 MODULE_DEVICE_TABLE(i2c, isl29501_id);
index cfc75d0..24524ed 100644 (file)
@@ -239,7 +239,7 @@ static const struct of_device_id of_mb1232_match[] = {
        { .compatible = "maxbotix,mb1242", },
        { .compatible = "maxbotix,mb7040", },
        { .compatible = "maxbotix,mb7137", },
-       {},
+       { }
 };
 
 MODULE_DEVICE_TABLE(of, of_mb1232_match);
index 2ad69b1..c5b4e13 100644 (file)
@@ -268,7 +268,7 @@ static const struct iio_chan_spec ping_chan_spec[] = {
 static const struct of_device_id of_ping_match[] = {
        { .compatible = "parallax,ping", .data = &pa_ping_cfg },
        { .compatible = "parallax,laserping", .data = &pa_laser_ping_cfg },
-       {},
+       { }
 };
 
 MODULE_DEVICE_TABLE(of, of_ping_match);
index 71ad29e..b059bac 100644 (file)
@@ -240,7 +240,7 @@ static const struct of_device_id of_srf04_match[] = {
        { .compatible = "maxbotix,mb1020", .data = &mb_lv_cfg },
        { .compatible = "maxbotix,mb1030", .data = &mb_lv_cfg },
        { .compatible = "maxbotix,mb1040", .data = &mb_lv_cfg },
-       {},
+       { }
 };
 
 MODULE_DEVICE_TABLE(of, of_srf04_match);
index 86cab11..940fad6 100644 (file)
@@ -531,7 +531,7 @@ static const struct of_device_id of_srf08_match[] = {
        { .compatible = "devantech,srf02", (void *)SRF02 },
        { .compatible = "devantech,srf08", (void *)SRF08 },
        { .compatible = "devantech,srf10", (void *)SRF10 },
-       {},
+       { }
 };
 
 MODULE_DEVICE_TABLE(of, of_srf08_match);
index b60707e..fb02eac 100644 (file)
@@ -995,21 +995,21 @@ static const struct sx931x_info sx9311_info = {
 static const struct acpi_device_id sx9310_acpi_match[] = {
        { "STH9310", (kernel_ulong_t)&sx9310_info },
        { "STH9311", (kernel_ulong_t)&sx9311_info },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(acpi, sx9310_acpi_match);
 
 static const struct of_device_id sx9310_of_match[] = {
        { .compatible = "semtech,sx9310", &sx9310_info },
        { .compatible = "semtech,sx9311", &sx9311_info },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(of, sx9310_of_match);
 
 static const struct i2c_device_id sx9310_id[] = {
        { "sx9310", (kernel_ulong_t)&sx9310_info },
        { "sx9311", (kernel_ulong_t)&sx9311_info },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(i2c, sx9310_id);
 
index 73d9724..c7b2d03 100644 (file)
@@ -202,7 +202,7 @@ static const struct iio_chan_spec_ext_info sx9324_channel_ext_info[] = {
                .shared = IIO_SEPARATE,
                .read = sx9324_phase_configuration_show,
        },
-       {}
+       { }
 };
 
 #define SX9324_CHANNEL(idx)                                     \
index b5e2855..8913da5 100644 (file)
@@ -865,7 +865,7 @@ static const struct acpi_gpio_mapping acpi_sx9500_gpios[] = {
         * GPIO to be output only. Ask the GPIO core to ignore this limit.
         */
        { "interrupt-gpios", &interrupt_gpios, 1, ACPI_GPIO_QUIRK_NO_IO_RESTRICTION },
-       { },
+       { }
 };
 
 static void sx9500_gpio_probe(struct i2c_client *client,
@@ -1030,7 +1030,7 @@ static DEFINE_SIMPLE_DEV_PM_OPS(sx9500_pm_ops, sx9500_suspend, sx9500_resume);
 static const struct acpi_device_id sx9500_acpi_match[] = {
        {"SSX9500", 0},
        {"SASX9500", 0},
-       { },
+       { }
 };
 MODULE_DEVICE_TABLE(acpi, sx9500_acpi_match);
 
index bb6c9cc..31e77d9 100644 (file)
@@ -653,7 +653,7 @@ static const struct of_device_id vcnl3020_of_match[] = {
        {
                .compatible = "vishay,vcnl3020",
        },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(of, vcnl3020_of_match);
 
index 9d95241..0bc84f1 100644 (file)
@@ -186,7 +186,7 @@ MODULE_DEVICE_TABLE(of, ad2s1200_of_match);
 static const struct spi_device_id ad2s1200_id[] = {
        { "ad2s1200" },
        { "ad2s1205" },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(spi, ad2s1200_id);
 
index ab860ce..80a2f7e 100644 (file)
@@ -1597,7 +1597,7 @@ MODULE_DEVICE_TABLE(of, ad2s1210_of_match);
 
 static const struct spi_device_id ad2s1210_id[] = {
        { "ad2s1210" },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(spi, ad2s1210_id);
 
index be6836e..18f1c90 100644 (file)
@@ -105,13 +105,13 @@ static int ad2s90_probe(struct spi_device *spi)
 
 static const struct of_device_id ad2s90_of_match[] = {
        { .compatible = "adi,ad2s90", },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(of, ad2s90_of_match);
 
 static const struct spi_device_id ad2s90_id[] = {
        { "ad2s90" },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(spi, ad2s90_id);
 
index 692520e..09f470b 100644 (file)
@@ -272,7 +272,7 @@ static const struct platform_device_id hid_temperature_ids[] = {
                /* Format: HID-SENSOR-usage_id_in_hex_lowercase */
                .name = "HID-SENSOR-200033",
        },
-       { /* sentinel */ }
+       { }
 };
 MODULE_DEVICE_TABLE(platform, hid_temperature_ids);
 
index f8ea221..7dd40d6 100644 (file)
@@ -1664,7 +1664,7 @@ static const struct spi_device_id ltc2983_id_table[] = {
        { "ltc2984", (kernel_ulong_t)&ltc2984_chip_info_data },
        { "ltc2986", (kernel_ulong_t)&ltc2986_chip_info_data },
        { "ltm2985", (kernel_ulong_t)&ltm2985_chip_info_data },
-       {},
+       { }
 };
 MODULE_DEVICE_TABLE(spi, ltc2983_id_table);
 
@@ -1673,7 +1673,7 @@ static const struct of_device_id ltc2983_of_match[] = {
        { .compatible = "adi,ltc2984", .data = &ltc2984_chip_info_data },
        { .compatible = "adi,ltc2986", .data = &ltc2986_chip_info_data },
        { .compatible = "adi,ltm2985", .data = &ltm2985_chip_info_data },
-       {},
+       { }
 };
 MODULE_DEVICE_TABLE(of, ltc2983_of_match);
 
index a13efde..0bbbade 100644 (file)
@@ -265,7 +265,7 @@ static const struct spi_device_id maxim_thermocouple_id[] = {
        {"max31855t", MAX31855T},
        {"max31855e", MAX31855E},
        {"max31855r", MAX31855R},
-       {},
+       { }
 };
 MODULE_DEVICE_TABLE(spi, maxim_thermocouple_id);
 
index c244786..6e9108d 100644 (file)
@@ -449,13 +449,13 @@ static int mcp9600_probe(struct i2c_client *client)
 
 static const struct i2c_device_id mcp9600_id[] = {
        { "mcp9600" },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(i2c, mcp9600_id);
 
 static const struct of_device_id mcp9600_of_match[] = {
        { .compatible = "microchip,mcp9600" },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(of, mcp9600_of_match);
 
index fd4d389..043283b 100644 (file)
@@ -558,7 +558,7 @@ static DEFINE_SIMPLE_DEV_PM_OPS(tmp007_pm_ops, tmp007_suspend, tmp007_resume);
 
 static const struct of_device_id tmp007_of_match[] = {
        { .compatible = "ti,tmp007", },
-       { },
+       { }
 };
 MODULE_DEVICE_TABLE(of, tmp007_of_match);
 
index cfaa16f..334bba6 100644 (file)
@@ -207,13 +207,13 @@ static int tsys01_i2c_probe(struct i2c_client *client)
 
 static const struct i2c_device_id tsys01_id[] = {
        { "tsys01" },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(i2c, tsys01_id);
 
 static const struct of_device_id tsys01_of_match[] = {
        { .compatible = "meas,tsys01", },
-       { },
+       { }
 };
 MODULE_DEVICE_TABLE(of, tsys01_of_match);
 
index ef34b3c..0cad272 100644 (file)
@@ -169,7 +169,7 @@ static int tsys02d_probe(struct i2c_client *client)
 
 static const struct i2c_device_id tsys02d_id[] = {
        { "tsys02d" },
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(i2c, tsys02d_id);
 
index fc67e6b..872dd85 100644 (file)
@@ -257,7 +257,7 @@ static struct kunit_case iio_format_test_cases[] = {
                KUNIT_CASE(iio_test_iio_format_value_fractional_log2),
                KUNIT_CASE(iio_test_iio_format_value_multiple),
                KUNIT_CASE(iio_test_iio_format_value_integer_64),
-               {}
+               { }
 };
 
 static struct kunit_suite iio_format_test_suite = {
index 1eceec9..11250bc 100644 (file)
@@ -499,7 +499,7 @@ static struct kunit_case iio_gts_test_cases[] = {
        KUNIT_CASE(test_iio_find_closest_gain_low),
        KUNIT_CASE(test_iio_gts_total_gain_to_scale),
        KUNIT_CASE(test_iio_gts_avail_test),
-       {}
+       { }
 };
 
 static struct kunit_suite iio_gts_test_suite = {
index bbc6a2e..ac6942c 100644 (file)
@@ -704,7 +704,7 @@ static void iio_rescale_test_offset(struct kunit *test)
 static struct kunit_case iio_rescale_test_cases[] = {
        KUNIT_CASE_PARAM(iio_rescale_test_scale, iio_rescale_scale_gen_params),
        KUNIT_CASE_PARAM(iio_rescale_test_offset, iio_rescale_offset_gen_params),
-       {}
+       { }
 };
 
 static struct kunit_suite iio_rescale_test_suite = {
index 3dcc8d2..2505ace 100644 (file)
@@ -133,7 +133,7 @@ static int stm32_lptim_trigger_probe(struct platform_device *pdev)
 static const struct of_device_id stm32_lptim_trig_of_match[] = {
        { .compatible = "st,stm32-lptimer-trigger", .data = &stm32mp15_lptim_cfg },
        { .compatible = "st,stm32mp25-lptimer-trigger", .data = &stm32mp25_lptim_cfg},
-       {},
+       { }
 };
 MODULE_DEVICE_TABLE(of, stm32_lptim_trig_of_match);
 
index e41cb74..925b864 100644 (file)
@@ -711,7 +711,7 @@ static const struct iio_chan_spec_ext_info stm32_trigger_count_info[] = {
        IIO_ENUM_AVAILABLE("enable_mode", IIO_SHARED_BY_TYPE, &stm32_enable_mode_enum),
        IIO_ENUM("trigger_mode", IIO_SEPARATE, &stm32_trigger_mode_enum),
        IIO_ENUM_AVAILABLE("trigger_mode", IIO_SHARED_BY_TYPE, &stm32_trigger_mode_enum),
-       {}
+       { }
 };
 
 static const struct iio_chan_spec stm32_trigger_channel = {
@@ -921,7 +921,7 @@ static const struct of_device_id stm32_trig_of_match[] = {
                .compatible = "st,stm32mp25-timer-trigger",
                .data = (void *)&stm32mp25_timer_trg_cfg,
        },
-       { /* end node */ },
+       { }
 };
 MODULE_DEVICE_TABLE(of, stm32_trig_of_match);
 
index c1c7330..830ff38 100644 (file)
@@ -294,7 +294,7 @@ static int adis16203_probe(struct spi_device *spi)
 
 static const struct of_device_id adis16203_of_match[] = {
        { .compatible = "adi,adis16203" },
-       { },
+       { }
 };
 
 MODULE_DEVICE_TABLE(of, adis16203_of_match);
index 6c14d7b..1368c3e 100644 (file)
@@ -431,7 +431,7 @@ static const struct spi_device_id ad7816_id[] = {
        { "ad7816", ID_AD7816 },
        { "ad7817", ID_AD7817 },
        { "ad7818", ID_AD7818 },
-       {}
+       { }
 };
 
 MODULE_DEVICE_TABLE(spi, ad7816_id);
index e6ad088..f45968e 100644 (file)
@@ -127,7 +127,7 @@ static const struct of_device_id adt7316_of_match[] = {
        { .compatible = "adi,adt7516" },
        { .compatible = "adi,adt7517" },
        { .compatible = "adi,adt7519" },
-       { },
+       { }
 };
 
 MODULE_DEVICE_TABLE(of, adt7316_of_match);
index 1bf2338..738982e 100644 (file)
@@ -412,7 +412,7 @@ MODULE_DEVICE_TABLE(of, ad9832_of_match);
 static const struct spi_device_id ad9832_id[] = {
        {"ad9832", 0},
        {"ad9835", 0},
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(spi, ad9832_id);
 
index 50413da..0038eb2 100644 (file)
@@ -479,7 +479,7 @@ static const struct spi_device_id ad9834_id[] = {
        {"ad9834", ID_AD9834},
        {"ad9837", ID_AD9837},
        {"ad9838", ID_AD9838},
-       {}
+       { }
 };
 MODULE_DEVICE_TABLE(spi, ad9834_id);
 
@@ -488,7 +488,7 @@ static const struct of_device_id ad9834_of_match[] = {
        {.compatible = "adi,ad9834"},
        {.compatible = "adi,ad9837"},
        {.compatible = "adi,ad9838"},
-       {}
+       { }
 };
 
 MODULE_DEVICE_TABLE(of, ad9834_of_match);
index 5aaa43e..6b3e231 100644 (file)
@@ -728,7 +728,7 @@ static int ad5933_probe(struct i2c_client *client)
 static const struct i2c_device_id ad5933_id[] = {
        { "ad5933" },
        { "ad5934" },
-       {}
+       { }
 };
 
 MODULE_DEVICE_TABLE(i2c, ad5933_id);
@@ -736,7 +736,7 @@ MODULE_DEVICE_TABLE(i2c, ad5933_id);
 static const struct of_device_id ad5933_of_match[] = {
        { .compatible = "adi,ad5933" },
        { .compatible = "adi,ad5934" },
-       { },
+       { }
 };
 
 MODULE_DEVICE_TABLE(of, ad5933_of_match);
index 9ef5ee0..bc82bb6 100644 (file)
@@ -335,7 +335,7 @@ static const struct option longopts[] = {
        { "device-num",         1, 0, 'N' },
        { "trigger-name",       1, 0, 't' },
        { "trigger-num",        1, 0, 'T' },
-       { },
+       { }
 };
 
 int main(int argc, char **argv)