]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
ASoC: Use named initializers for arrays of i2c_device_data
authorUwe Kleine-König (The Capable Hub) <u.kleine-koenig@baylibre.com>
Wed, 13 May 2026 17:23:04 +0000 (19:23 +0200)
committerMark Brown <broonie@kernel.org>
Thu, 21 May 2026 11:30:08 +0000 (12:30 +0100)
While being less compact, using named initializers allows to more easily
see which members of the structs are assigned which value without having
to lookup the declaration of the struct. And it's also more robust
against changes to the struct definition.

The mentioned robustness is relevant for a planned change to struct
i2c_device_id that replaces .driver_data by an anonymous union.

While touching all these arrays, unify indention and usage of commas.

This patch doesn't modify the compiled arrays, only their representation
in source form benefits. The former was confirmed with x86 and arm64
builds.

Signed-off-by: Uwe Kleine-König (The Capable Hub) <u.kleine-koenig@baylibre.com>
Reviewed-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Reviewed-by: Linus Walleij <linusw@kernel.org>
Link: https://patch.msgid.link/ae2ff4898eb340bd8bcafb7b75443eb4a0ce3e76.1778692164.git.u.kleine-koenig@baylibre.com
Signed-off-by: Mark Brown <broonie@kernel.org>
200 files changed:
sound/hda/codecs/side-codecs/cs35l41_hda_i2c.c
sound/hda/codecs/side-codecs/cs35l56_hda_i2c.c
sound/hda/codecs/side-codecs/tas2781_hda_i2c.c
sound/soc/codecs/ad193x-i2c.c
sound/soc/codecs/adau1372-i2c.c
sound/soc/codecs/adau1373.c
sound/soc/codecs/adau1701.c
sound/soc/codecs/adau1761-i2c.c
sound/soc/codecs/adau1781-i2c.c
sound/soc/codecs/adau1977-i2c.c
sound/soc/codecs/adau7118-i2c.c
sound/soc/codecs/adav803.c
sound/soc/codecs/ak4118.c
sound/soc/codecs/ak4535.c
sound/soc/codecs/ak4613.c
sound/soc/codecs/ak4619.c
sound/soc/codecs/ak4642.c
sound/soc/codecs/ak4671.c
sound/soc/codecs/alc5623.c
sound/soc/codecs/alc5632.c
sound/soc/codecs/aw87390.c
sound/soc/codecs/aw88081.c
sound/soc/codecs/aw88166.c
sound/soc/codecs/aw88261.c
sound/soc/codecs/aw88395/aw88395.c
sound/soc/codecs/aw88399.c
sound/soc/codecs/cs35l32.c
sound/soc/codecs/cs35l33.c
sound/soc/codecs/cs35l34.c
sound/soc/codecs/cs35l35.c
sound/soc/codecs/cs35l36.c
sound/soc/codecs/cs35l41-i2c.c
sound/soc/codecs/cs35l45-i2c.c
sound/soc/codecs/cs35l56-i2c.c
sound/soc/codecs/cs4265.c
sound/soc/codecs/cs4270.c
sound/soc/codecs/cs4271-i2c.c
sound/soc/codecs/cs42l42-i2c.c
sound/soc/codecs/cs42l51-i2c.c
sound/soc/codecs/cs42l52.c
sound/soc/codecs/cs42l56.c
sound/soc/codecs/cs42l73.c
sound/soc/codecs/cs42l84.c
sound/soc/codecs/cs42xx8-i2c.c
sound/soc/codecs/cs43130.c
sound/soc/codecs/cs4341.c
sound/soc/codecs/cs4349.c
sound/soc/codecs/cs530x-i2c.c
sound/soc/codecs/cs53l30.c
sound/soc/codecs/cx2072x.c
sound/soc/codecs/da7210.c
sound/soc/codecs/da7213.c
sound/soc/codecs/da7218.c
sound/soc/codecs/da7219.c
sound/soc/codecs/da732x.c
sound/soc/codecs/da9055.c
sound/soc/codecs/es8311.c
sound/soc/codecs/es8316.c
sound/soc/codecs/es8323.c
sound/soc/codecs/es8326.c
sound/soc/codecs/es8328-i2c.c
sound/soc/codecs/es8375.c
sound/soc/codecs/es8389.c
sound/soc/codecs/fs210x.c
sound/soc/codecs/isabelle.c
sound/soc/codecs/lm4857.c
sound/soc/codecs/lm49453.c
sound/soc/codecs/max9768.c
sound/soc/codecs/max98088.c
sound/soc/codecs/max98090.c
sound/soc/codecs/max98095.c
sound/soc/codecs/max98371.c
sound/soc/codecs/max98373-i2c.c
sound/soc/codecs/max98388.c
sound/soc/codecs/max98390.c
sound/soc/codecs/max98396.c
sound/soc/codecs/max9850.c
sound/soc/codecs/max98504.c
sound/soc/codecs/max98520.c
sound/soc/codecs/max9860.c
sound/soc/codecs/max9867.c
sound/soc/codecs/max9877.c
sound/soc/codecs/max98925.c
sound/soc/codecs/max98926.c
sound/soc/codecs/max98927.c
sound/soc/codecs/ml26124.c
sound/soc/codecs/mt6660.c
sound/soc/codecs/nau8325.c
sound/soc/codecs/nau8540.c
sound/soc/codecs/nau8810.c
sound/soc/codecs/nau8821.c
sound/soc/codecs/nau8822.c
sound/soc/codecs/nau8824.c
sound/soc/codecs/nau8825.c
sound/soc/codecs/ntp8835.c
sound/soc/codecs/ntp8918.c
sound/soc/codecs/pcm1681.c
sound/soc/codecs/pcm1789-i2c.c
sound/soc/codecs/pcm179x-i2c.c
sound/soc/codecs/pcm186x-i2c.c
sound/soc/codecs/pcm3168a-i2c.c
sound/soc/codecs/pcm512x-i2c.c
sound/soc/codecs/pcm6240.c
sound/soc/codecs/rt1011.c
sound/soc/codecs/rt1015.c
sound/soc/codecs/rt1016.c
sound/soc/codecs/rt1019.c
sound/soc/codecs/rt1305.c
sound/soc/codecs/rt1308.c
sound/soc/codecs/rt1318.c
sound/soc/codecs/rt274.c
sound/soc/codecs/rt286.c
sound/soc/codecs/rt298.c
sound/soc/codecs/rt5514.c
sound/soc/codecs/rt5575.c
sound/soc/codecs/rt5616.c
sound/soc/codecs/rt5631.c
sound/soc/codecs/rt5640.c
sound/soc/codecs/rt5645.c
sound/soc/codecs/rt5651.c
sound/soc/codecs/rt5659.c
sound/soc/codecs/rt5660.c
sound/soc/codecs/rt5663.c
sound/soc/codecs/rt5665.c
sound/soc/codecs/rt5668.c
sound/soc/codecs/rt5670.c
sound/soc/codecs/rt5677.c
sound/soc/codecs/rt5682-i2c.c
sound/soc/codecs/rt5682s.c
sound/soc/codecs/sgtl5000.c
sound/soc/codecs/sma1303.c
sound/soc/codecs/sma1307.c
sound/soc/codecs/src4xxx-i2c.c
sound/soc/codecs/ssm2518.c
sound/soc/codecs/ssm2602-i2c.c
sound/soc/codecs/ssm4567.c
sound/soc/codecs/sta32x.c
sound/soc/codecs/sta350.c
sound/soc/codecs/sta529.c
sound/soc/codecs/tas2552.c
sound/soc/codecs/tas2562.c
sound/soc/codecs/tas2764.c
sound/soc/codecs/tas2770.c
sound/soc/codecs/tas2780.c
sound/soc/codecs/tas2781-i2c.c
sound/soc/codecs/tas5086.c
sound/soc/codecs/tas571x.c
sound/soc/codecs/tas5720.c
sound/soc/codecs/tas5805m.c
sound/soc/codecs/tas6424.c
sound/soc/codecs/tda7419.c
sound/soc/codecs/tfa9879.c
sound/soc/codecs/tlv320adc3xxx.c
sound/soc/codecs/tlv320adcx140.c
sound/soc/codecs/tlv320aic23-i2c.c
sound/soc/codecs/tlv320aic31xx.c
sound/soc/codecs/tlv320aic32x4-i2c.c
sound/soc/codecs/tlv320aic3x-i2c.c
sound/soc/codecs/ts3a227e.c
sound/soc/codecs/tscs42xx.c
sound/soc/codecs/tscs454.c
sound/soc/codecs/uda1342.c
sound/soc/codecs/uda1380.c
sound/soc/codecs/wm1250-ev1.c
sound/soc/codecs/wm2000.c
sound/soc/codecs/wm2200.c
sound/soc/codecs/wm5100.c
sound/soc/codecs/wm8510.c
sound/soc/codecs/wm8523.c
sound/soc/codecs/wm8580.c
sound/soc/codecs/wm8711.c
sound/soc/codecs/wm8728.c
sound/soc/codecs/wm8731-i2c.c
sound/soc/codecs/wm8737.c
sound/soc/codecs/wm8741.c
sound/soc/codecs/wm8750.c
sound/soc/codecs/wm8753.c
sound/soc/codecs/wm8776.c
sound/soc/codecs/wm8804-i2c.c
sound/soc/codecs/wm8900.c
sound/soc/codecs/wm8903.c
sound/soc/codecs/wm8904.c
sound/soc/codecs/wm8940.c
sound/soc/codecs/wm8955.c
sound/soc/codecs/wm8960.c
sound/soc/codecs/wm8961.c
sound/soc/codecs/wm8962.c
sound/soc/codecs/wm8971.c
sound/soc/codecs/wm8974.c
sound/soc/codecs/wm8978.c
sound/soc/codecs/wm8983.c
sound/soc/codecs/wm8985.c
sound/soc/codecs/wm8988.c
sound/soc/codecs/wm8990.c
sound/soc/codecs/wm8991.c
sound/soc/codecs/wm8993.c
sound/soc/codecs/wm8995.c
sound/soc/codecs/wm8996.c
sound/soc/codecs/wm9081.c
sound/soc/codecs/wm9090.c

index e77495413c214df3fc5efb6f34cb014f91a0e917..96d8cc6c2324280f5904f4f6bebe3b79963b45fb 100644 (file)
@@ -39,8 +39,8 @@ static void cs35l41_hda_i2c_remove(struct i2c_client *clt)
 }
 
 static const struct i2c_device_id cs35l41_hda_i2c_id[] = {
-       { "cs35l41-hda" },
-       {}
+       { .name = "cs35l41-hda" },
+       { }
 };
 
 static const struct acpi_device_id cs35l41_acpi_hda_match[] = {
index 1072f17385ac5222df66016543058247eabec8bf..e2f51612a73d276c030e4949808ef0ba969d2e61 100644 (file)
@@ -51,10 +51,10 @@ static void cs35l56_hda_i2c_remove(struct i2c_client *clt)
 }
 
 static const struct i2c_device_id cs35l56_hda_i2c_id[] = {
-       { "cs35l54-hda", 0x3554 },
-       { "cs35l56-hda", 0x3556 },
-       { "cs35l57-hda", 0x3557 },
-       {}
+       { .name = "cs35l54-hda", .driver_data = 0x3554 },
+       { .name = "cs35l56-hda", .driver_data = 0x3556 },
+       { .name = "cs35l57-hda", .driver_data = 0x3557 },
+       { }
 };
 
 static const struct acpi_device_id cs35l56_acpi_hda_match[] = {
index 67240ce184e1a78a15f6bdccedc239550e4a425c..d59110402c7a74e9f97327a65007bf202e2bacde 100644 (file)
@@ -791,8 +791,8 @@ static const struct dev_pm_ops tas2781_hda_pm_ops = {
 };
 
 static const struct i2c_device_id tas2781_hda_i2c_id[] = {
-       { "tas2781-hda" },
-       {}
+       { .name = "tas2781-hda" },
+       { }
 };
 
 static const struct acpi_device_id tas2781_acpi_hda_match[] = {
index 6aa168e01fbbde41074046e6885a2b1770e681e0..d4d6560bdb80ba0f3c4172c58c7f06f336921492 100644 (file)
@@ -14,8 +14,8 @@
 #include "ad193x.h"
 
 static const struct i2c_device_id ad193x_id[] = {
-       { "ad1936", AD193X },
-       { "ad1937", AD193X },
+       { .name = "ad1936", .driver_data = AD193X },
+       { .name = "ad1937", .driver_data = AD193X },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, ad193x_id);
index 73f83be38f749024e6836ccc503ffe7412cc8913..4217b7fc349c777deefc21a7aa221cd505950c6b 100644 (file)
@@ -21,7 +21,7 @@ static int adau1372_i2c_probe(struct i2c_client *client)
 }
 
 static const struct i2c_device_id adau1372_i2c_ids[] = {
-       { "adau1372" },
+       { .name = "adau1372" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, adau1372_i2c_ids);
index 16b9b265834179087252157a164765c56ed292eb..5dd961b233ce953e3b3e6c6833af9fe2ec66dea2 100644 (file)
@@ -1599,7 +1599,7 @@ static int adau1373_i2c_probe(struct i2c_client *client)
 }
 
 static const struct i2c_device_id adau1373_i2c_id[] = {
-       { "adau1373" },
+       { .name = "adau1373" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, adau1373_i2c_id);
index 6876462d8bdbb41d551f776c2d7fe6ed46115fa1..329ab01b62c0027b8eb2273486a4e0723330d4bc 100644 (file)
@@ -860,10 +860,10 @@ exit_regulators_disable:
 }
 
 static const struct i2c_device_id adau1701_i2c_id[] = {
-       { "adau1401" },
-       { "adau1401a" },
-       { "adau1701" },
-       { "adau1702" },
+       { .name = "adau1401" },
+       { .name = "adau1401a" },
+       { .name = "adau1701" },
+       { .name = "adau1702" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, adau1701_i2c_id);
index eba7e4f42c78aee88c1ea6d2183d3c7da348fd25..a329e5bddb99e200ef573dc859ab377953ff6d09 100644 (file)
@@ -33,10 +33,10 @@ static void adau1761_i2c_remove(struct i2c_client *client)
 }
 
 static const struct i2c_device_id adau1761_i2c_ids[] = {
-       { "adau1361", ADAU1361 },
-       { "adau1461", ADAU1761 },
-       { "adau1761", ADAU1761 },
-       { "adau1961", ADAU1361 },
+       { .name = "adau1361", .driver_data = ADAU1361 },
+       { .name = "adau1461", .driver_data = ADAU1761 },
+       { .name = "adau1761", .driver_data = ADAU1761 },
+       { .name = "adau1961", .driver_data = ADAU1361 },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, adau1761_i2c_ids);
index cb67fde8d9a843620581c472b31b9805d367acb1..0e7954148af7cf5f38792b3d38493d0993dc7e0e 100644 (file)
@@ -33,8 +33,8 @@ static void adau1781_i2c_remove(struct i2c_client *client)
 }
 
 static const struct i2c_device_id adau1781_i2c_ids[] = {
-       { "adau1381", ADAU1381 },
-       { "adau1781", ADAU1781 },
+       { .name = "adau1381", .driver_data = ADAU1381 },
+       { .name = "adau1781", .driver_data = ADAU1781 },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, adau1781_i2c_ids);
index 441c8079246a4c6a76400fe595ed8cc192e6b8d9..fc7ed5c1dd74b318298d0ef1b0a8762c9db38d88 100644 (file)
@@ -28,9 +28,9 @@ static int adau1977_i2c_probe(struct i2c_client *client)
 }
 
 static const struct i2c_device_id adau1977_i2c_ids[] = {
-       { "adau1977", ADAU1977 },
-       { "adau1978", ADAU1978 },
-       { "adau1979", ADAU1978 },
+       { .name = "adau1977", .driver_data = ADAU1977 },
+       { .name = "adau1978", .driver_data = ADAU1978 },
+       { .name = "adau1979", .driver_data = ADAU1978 },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, adau1977_i2c_ids);
index f9dc8f4ef9a4e2b7dc7c5f1b13cc80fea85aab2a..7cccb4c6cff77d50a08757c36f12ea624f3914e4 100644 (file)
@@ -68,8 +68,8 @@ static const struct of_device_id adau7118_of_match[] = {
 MODULE_DEVICE_TABLE(of, adau7118_of_match);
 
 static const struct i2c_device_id adau7118_id[] = {
-       {"adau7118"},
-       {}
+       { .name = "adau7118" },
+       { }
 };
 MODULE_DEVICE_TABLE(i2c, adau7118_id);
 
index 8b96c41f0354c179e10c425823bb7f1430a54ae9..9e5f8e866acb9838e33b2d654dbcb6b318e02756 100644 (file)
@@ -14,7 +14,7 @@
 #include "adav80x.h"
 
 static const struct i2c_device_id adav803_id[] = {
-       { "adav803" },
+       { .name = "adav803" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, adav803_id);
index 23e868e4e3fba2c7e885b39260f8e40105255ae9..03dadba0b038fb4d901b93c274f2c64a4d230bb6 100644 (file)
@@ -395,8 +395,8 @@ MODULE_DEVICE_TABLE(of, ak4118_of_match);
 #endif
 
 static const struct i2c_device_id ak4118_id_table[] = {
-       { "ak4118" },
-       {}
+       { .name = "ak4118" },
+       { }
 };
 MODULE_DEVICE_TABLE(i2c, ak4118_id_table);
 
index aadc46a472806a8dfc9a2684bacf9b3a7e94b5dd..37555674cd157e0fa28c7214fceba837d81d9c55 100644 (file)
@@ -430,7 +430,7 @@ static int ak4535_i2c_probe(struct i2c_client *i2c)
 }
 
 static const struct i2c_device_id ak4535_i2c_id[] = {
-       { "ak4535" },
+       { .name = "ak4535" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, ak4535_i2c_id);
index de9e43185555969ee7a06ea581514bde4af79840..3b198b9b460516574f85b5064b4334031603201c 100644 (file)
@@ -303,7 +303,7 @@ static const struct of_device_id ak4613_of_match[] = {
 MODULE_DEVICE_TABLE(of, ak4613_of_match);
 
 static const struct i2c_device_id ak4613_i2c_id[] = {
-       { "ak4613", (kernel_ulong_t)&ak4613_regmap_cfg },
+       { .name = "ak4613", .driver_data = (kernel_ulong_t)&ak4613_regmap_cfg },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, ak4613_i2c_id);
index daf6e15b707732101f597d897d71dfb0001c00b1..755c002f0f1599f2188183d2a905c1a8e7f406e3 100644 (file)
@@ -831,7 +831,7 @@ static const struct of_device_id ak4619_of_match[] = {
 MODULE_DEVICE_TABLE(of, ak4619_of_match);
 
 static const struct i2c_device_id ak4619_i2c_id[] = {
-       { "ak4619", (kernel_ulong_t)&ak4619_regmap_cfg },
+       { .name = "ak4619", .driver_data = (kernel_ulong_t)&ak4619_regmap_cfg },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, ak4619_i2c_id);
index fe035d2fc9131b7e2d340a6eb5deea6d3f2a1dd4..08ec2035b2705e3fa1d64be6d50c426dca588317 100644 (file)
@@ -672,10 +672,10 @@ static const struct of_device_id ak4642_of_match[] = {
 MODULE_DEVICE_TABLE(of, ak4642_of_match);
 
 static const struct i2c_device_id ak4642_i2c_id[] = {
-       { "ak4642", (kernel_ulong_t)&ak4642_drvdata },
-       { "ak4643", (kernel_ulong_t)&ak4643_drvdata },
-       { "ak4648", (kernel_ulong_t)&ak4648_drvdata },
-       {}
+       { .name = "ak4642", .driver_data = (kernel_ulong_t)&ak4642_drvdata },
+       { .name = "ak4643", .driver_data = (kernel_ulong_t)&ak4643_drvdata },
+       { .name = "ak4648", .driver_data = (kernel_ulong_t)&ak4648_drvdata },
+       { }
 };
 MODULE_DEVICE_TABLE(i2c, ak4642_i2c_id);
 
index d545aa2e0a39c5816c5c26c77e18faf66ddd23ec..aac54e9d54ee7c049847bceada6bcbcbe166d14d 100644 (file)
@@ -646,7 +646,7 @@ static int ak4671_i2c_probe(struct i2c_client *client)
 }
 
 static const struct i2c_device_id ak4671_i2c_id[] = {
-       { "ak4671" },
+       { .name = "ak4671" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, ak4671_i2c_id);
index ec229b315f9fd897f4f58c38e205dc993455b0c2..f5a666c49361502e4cd59b7c4aa5f17051dc4db0 100644 (file)
@@ -963,10 +963,10 @@ static const struct regmap_config alc5623_regmap = {
 };
 
 static const struct i2c_device_id alc5623_i2c_table[] = {
-       {"alc5621", 0x21},
-       {"alc5622", 0x22},
-       {"alc5623", 0x23},
-       {}
+       { .name = "alc5621", .driver_data = 0x21 },
+       { .name = "alc5622", .driver_data = 0x22 },
+       { .name = "alc5623", .driver_data = 0x23 },
+       { }
 };
 MODULE_DEVICE_TABLE(i2c, alc5623_i2c_table);
 
index 72f4622204fffdb8221bd483cbbcbacea278b686..2fd3dd7ef8b3409c55c06d4114f16afafdf8f9e8 100644 (file)
@@ -1092,8 +1092,8 @@ static const struct regmap_config alc5632_regmap = {
 };
 
 static const struct i2c_device_id alc5632_i2c_table[] = {
-       {"alc5632", 0x5c},
-       {}
+       { .name = "alc5632", .driver_data = 0x5c },
+       { }
 };
 MODULE_DEVICE_TABLE(i2c, alc5632_i2c_table);
 
index 37ca42a25889a63d0836cd7ad079f14fe42c5df4..020213e0ca4b500972e9c1ed4e157f6abbde582b 100644 (file)
@@ -599,8 +599,8 @@ static const struct of_device_id aw87390_of_match[] = {
 MODULE_DEVICE_TABLE(of, aw87390_of_match);
 
 static const struct i2c_device_id aw87390_i2c_id[] = {
-       { AW87390_I2C_NAME },
-       { AW87391_I2C_NAME },
+       { .name = AW87390_I2C_NAME },
+       { .name = AW87391_I2C_NAME },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, aw87390_i2c_id);
index 8c5bb3ea0227d0e5b360192516153d322688a3d3..a5ba177a48df7e6b278e601c6821306d8e15a1fb 100644 (file)
@@ -1240,8 +1240,8 @@ static const struct snd_soc_component_driver soc_codec_dev_aw88081 = {
 };
 
 static const struct i2c_device_id aw88081_i2c_id[] = {
-       { AW88081_I2C_NAME, AW88081},
-       { AW88083_I2C_NAME, AW88083},
+       { .name = AW88081_I2C_NAME, .driver_data = AW88081 },
+       { .name = AW88083_I2C_NAME, .driver_data = AW88083 },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, aw88081_i2c_id);
index ea277a940c44dfbf033ed4a69051bf506252b1c8..3f15f4ac51f7a17e27d86a61b53a4597a2fca59e 100644 (file)
@@ -1801,7 +1801,7 @@ static int aw88166_i2c_probe(struct i2c_client *i2c)
 }
 
 static const struct i2c_device_id aw88166_i2c_id[] = {
-       { AW88166_I2C_NAME },
+       { .name = AW88166_I2C_NAME },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, aw88166_i2c_id);
index a6805d5405cd106d2d9ca76ed102feca8474f975..50521dd2ebb1f689404cab2ea63ff8b847fa9532 100644 (file)
@@ -1274,7 +1274,7 @@ static int aw88261_i2c_probe(struct i2c_client *i2c)
 }
 
 static const struct i2c_device_id aw88261_i2c_id[] = {
-       { "aw88261" },
+       { .name = "aw88261" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, aw88261_i2c_id);
index 3602b5b9f7d77ba50498c52e69ecb6ce713517a5..74708a47209ec8d6b0fd8777d5f433aca4996eb7 100644 (file)
@@ -558,7 +558,7 @@ static int aw88395_i2c_probe(struct i2c_client *i2c)
 }
 
 static const struct i2c_device_id aw88395_i2c_id[] = {
-       { AW88395_I2C_NAME },
+       { .name = AW88395_I2C_NAME },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, aw88395_i2c_id);
index b588c27909b5038f2b53549e2fe29e76c9157e5d..b2ec3503f7e239728cc1f5ef285d828b44cf9d4b 100644 (file)
@@ -2146,7 +2146,7 @@ static int aw88399_i2c_probe(struct i2c_client *i2c)
 }
 
 static const struct i2c_device_id aw88399_i2c_id[] = {
-       { AW88399_I2C_NAME },
+       { .name = AW88399_I2C_NAME },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, aw88399_i2c_id);
index 0bb4bdb3deecb62a4c1bcc8d72ed9ede475009f0..c835088de578a7fcbf099992e5c31eee1ccb6e34 100644 (file)
@@ -555,8 +555,8 @@ MODULE_DEVICE_TABLE(of, cs35l32_of_match);
 
 
 static const struct i2c_device_id cs35l32_id[] = {
-       {"cs35l32"},
-       {}
+       { .name = "cs35l32" },
+       { }
 };
 
 MODULE_DEVICE_TABLE(i2c, cs35l32_id);
index 98b4d371d93129be2f8324f55308cdce03a7d17b..f49edb9ea1f2ceae3c952deef268166ea9f433d4 100644 (file)
@@ -1262,8 +1262,8 @@ static const struct of_device_id cs35l33_of_match[] = {
 MODULE_DEVICE_TABLE(of, cs35l33_of_match);
 
 static const struct i2c_device_id cs35l33_id[] = {
-       {"cs35l33"},
-       {}
+       { .name = "cs35l33" },
+       { }
 };
 
 MODULE_DEVICE_TABLE(i2c, cs35l33_id);
index a5a8075598ffbcc28b96c7f05e7d84fc0e9cbc58..e80984b221593aa8b8f0dfee3ae05dede612884b 100644 (file)
@@ -1175,8 +1175,8 @@ static const struct of_device_id cs35l34_of_match[] = {
 MODULE_DEVICE_TABLE(of, cs35l34_of_match);
 
 static const struct i2c_device_id cs35l34_id[] = {
-       {"cs35l34"},
-       {}
+       { .name = "cs35l34" },
+       { }
 };
 MODULE_DEVICE_TABLE(i2c, cs35l34_id);
 
index 7a01b1d9fc9d70c4697d640fea71500bcdad6225..b2439ec3c19fbaeff4574d344d73d4e85d2c9f02 100644 (file)
@@ -1639,8 +1639,8 @@ static const struct of_device_id cs35l35_of_match[] = {
 MODULE_DEVICE_TABLE(of, cs35l35_of_match);
 
 static const struct i2c_device_id cs35l35_id[] = {
-       {"cs35l35"},
-       {}
+       { .name = "cs35l35" },
+       { }
 };
 
 MODULE_DEVICE_TABLE(i2c, cs35l35_id);
index 93818d7ec1a7757a4372211b74629b88298b1853..89645327945f18a4944344ec820efbafe99344f9 100644 (file)
@@ -1918,8 +1918,8 @@ static const struct of_device_id cs35l36_of_match[] = {
 MODULE_DEVICE_TABLE(of, cs35l36_of_match);
 
 static const struct i2c_device_id cs35l36_id[] = {
-       {"cs35l36"},
-       {}
+       { .name = "cs35l36" },
+       { }
 };
 
 MODULE_DEVICE_TABLE(i2c, cs35l36_id);
index 34097996b784fb435ce852e173328aac76d480f2..23f59f3025bdca771b62063dc44040741c8fc477 100644 (file)
 #include "cs35l41.h"
 
 static const struct i2c_device_id cs35l41_id_i2c[] = {
-       { "cs35l40" },
-       { "cs35l41" },
-       { "cs35l51" },
-       { "cs35l53" },
-       {}
+       { .name = "cs35l40" },
+       { .name = "cs35l41" },
+       { .name = "cs35l51" },
+       { .name = "cs35l53" },
+       { }
 };
 
 MODULE_DEVICE_TABLE(i2c, cs35l41_id_i2c);
index a09aa3b92ae15776653f831022f582619799c016..3eba61e107a5583371c26439d37c1e653cd10497 100644 (file)
@@ -53,8 +53,8 @@ static const struct of_device_id cs35l45_of_match[] = {
 MODULE_DEVICE_TABLE(of, cs35l45_of_match);
 
 static const struct i2c_device_id cs35l45_id_i2c[] = {
-       { "cs35l45" },
-       {}
+       { .name = "cs35l45" },
+       { }
 };
 MODULE_DEVICE_TABLE(i2c, cs35l45_id_i2c);
 
index 0492ddc4102d80e38577fb7a6afb8570a56d4549..0f64ab628b03bdd3a64faefdde0e59d2a3b16951 100644 (file)
@@ -72,9 +72,9 @@ static void cs35l56_i2c_remove(struct i2c_client *client)
 }
 
 static const struct i2c_device_id cs35l56_id_i2c[] = {
-       { "cs35l56", 0x3556 },
-       { "cs35l63", 0x3563 },
-       {}
+       { .name = "cs35l56", .driver_data = 0x3556 },
+       { .name = "cs35l63", .driver_data = 0x3563 },
+       { }
 };
 MODULE_DEVICE_TABLE(i2c, cs35l56_id_i2c);
 
index 3f759c13d6d12fd18552372dd1b5cf4ece17161d..286d5ca2985411e59356aec249882bc25fc09b79 100644 (file)
@@ -638,7 +638,7 @@ static const struct of_device_id cs4265_of_match[] = {
 MODULE_DEVICE_TABLE(of, cs4265_of_match);
 
 static const struct i2c_device_id cs4265_id[] = {
-       { "cs4265" },
+       { .name = "cs4265" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, cs4265_id);
index a48980e746ff46fed21dae3341e6b8d7105ebb23..47cb10eb21bbec5e48cd8af807b7be0779cae004 100644 (file)
@@ -732,8 +732,8 @@ static int cs4270_i2c_probe(struct i2c_client *i2c_client)
  * cs4270_id - I2C device IDs supported by this driver
  */
 static const struct i2c_device_id cs4270_id[] = {
-       {"cs4270"},
-       {}
+       { .name = "cs4270" },
+       { }
 };
 MODULE_DEVICE_TABLE(i2c, cs4270_id);
 
index 1d210b969173862ac03bdb489bf33d90a0702ae6..869a5317f67709bdf7fbc87aa24521afdb529506 100644 (file)
@@ -23,7 +23,7 @@ static int cs4271_i2c_probe(struct i2c_client *client)
 }
 
 static const struct i2c_device_id cs4271_i2c_id[] = {
-       { "cs4271" },
+       { .name = "cs4271" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, cs4271_i2c_id);
index 98b6718ccabff9b2354db136560e6dc301f065a5..c0942f28723be7c652687a7f563d1f391e7304f7 100644 (file)
@@ -78,8 +78,8 @@ static const struct acpi_device_id __maybe_unused cs42l42_acpi_match[] = {
 MODULE_DEVICE_TABLE(acpi, cs42l42_acpi_match);
 
 static const struct i2c_device_id cs42l42_id[] = {
-       {"cs42l42"},
-       {}
+       { .name = "cs42l42" },
+       { }
 };
 
 MODULE_DEVICE_TABLE(i2c, cs42l42_id);
index ba7e237619f2266b2cc85a3507cb7da3d7edf27a..a20a1030c498d751ff2723b318ca7596b845edba 100644 (file)
@@ -14,7 +14,7 @@
 #include "cs42l51.h"
 
 static const struct i2c_device_id cs42l51_i2c_id[] = {
-       { "cs42l51" },
+       { .name = "cs42l51" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, cs42l51_i2c_id);
index 662dc1a4835bdbcf46e25b169ae7dd624c3ff221..9d6bcfbbf0b2013ad6f979b5ee919568d689a39b 100644 (file)
@@ -1226,7 +1226,7 @@ MODULE_DEVICE_TABLE(of, cs42l52_of_match);
 
 
 static const struct i2c_device_id cs42l52_id[] = {
-       { "cs42l52" },
+       { .name = "cs42l52" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, cs42l52_id);
index aabb74f1f43c24176783fccab121d883825b5c95..4d9a22a1029c6bdf92d7b3205c163d5314853e8d 100644 (file)
@@ -1353,7 +1353,7 @@ MODULE_DEVICE_TABLE(of, cs42l56_of_match);
 
 
 static const struct i2c_device_id cs42l56_id[] = {
-       { "cs42l56" },
+       { .name = "cs42l56" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, cs42l56_id);
index bda8442c1d661d263255bcf0def70b22e0793c4d..6ddc6549492af24a375fc2be5b23be221f42c9da 100644 (file)
@@ -1369,8 +1369,8 @@ static const struct of_device_id cs42l73_of_match[] = {
 MODULE_DEVICE_TABLE(of, cs42l73_of_match);
 
 static const struct i2c_device_id cs42l73_id[] = {
-       {"cs42l73"},
-       {}
+       { .name = "cs42l73" },
+       { }
 };
 
 MODULE_DEVICE_TABLE(i2c, cs42l73_id);
index e590a43559e4ef33b51c81444063c7c5b509efaf..f2a58163de0eddaccf124972b12161b54fce5d9b 100644 (file)
@@ -1101,8 +1101,8 @@ static const struct of_device_id cs42l84_of_match[] = {
 MODULE_DEVICE_TABLE(of, cs42l84_of_match);
 
 static const struct i2c_device_id cs42l84_id[] = {
-       { "cs42l84" },
-       {}
+       { .name = "cs42l84" },
+       { }
 };
 MODULE_DEVICE_TABLE(i2c, cs42l84_id);
 
index 0faca384073af10515acec11ba5829df0349d26e..31debe2d82310e4f3cd584a21c93b4be834b897a 100644 (file)
@@ -49,9 +49,9 @@ static const struct of_device_id cs42xx8_of_match[] = {
 MODULE_DEVICE_TABLE(of, cs42xx8_of_match);
 
 static const struct i2c_device_id cs42xx8_i2c_id[] = {
-       {"cs42448", (kernel_ulong_t)&cs42448_data},
-       {"cs42888", (kernel_ulong_t)&cs42888_data},
-       {}
+       { .name = "cs42448", .driver_data = (kernel_ulong_t)&cs42448_data },
+       { .name = "cs42888", .driver_data = (kernel_ulong_t)&cs42888_data },
+       { }
 };
 MODULE_DEVICE_TABLE(i2c, cs42xx8_i2c_id);
 
index a3bdaac9c0590326e8c895b5fbfbc8da4fa51ba4..e7b06f962790d73a4ad5967aa107112160f7fafa 100644 (file)
@@ -2753,11 +2753,11 @@ MODULE_DEVICE_TABLE(acpi, cs43130_acpi_match);
 
 
 static const struct i2c_device_id cs43130_i2c_id[] = {
-       {"cs43130"},
-       {"cs4399"},
-       {"cs43131"},
-       {"cs43198"},
-       {}
+       { .name = "cs43130" },
+       { .name = "cs4399" },
+       { .name = "cs43131" },
+       { .name = "cs43198" },
+       { }
 };
 
 MODULE_DEVICE_TABLE(i2c, cs43130_i2c_id);
index b726e22ef57d35395f9eb315f2b52042fbd9d4e2..a44e6b3c298e750ec9f18f7773ef7c1821b21b0b 100644 (file)
@@ -248,7 +248,7 @@ static int cs4341_i2c_probe(struct i2c_client *i2c)
 }
 
 static const struct i2c_device_id cs4341_i2c_id[] = {
-       { "cs4341" },
+       { .name = "cs4341" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, cs4341_i2c_id);
index d9a9c34fffe3ddaf1b7b1166e8a812584efe028a..ced1270c4d68d09a3f014d95471a85b5cf59b95b 100644 (file)
@@ -358,8 +358,8 @@ static const struct of_device_id cs4349_of_match[] = {
 MODULE_DEVICE_TABLE(of, cs4349_of_match);
 
 static const struct i2c_device_id cs4349_i2c_id[] = {
-       {"cs4349"},
-       {}
+       { .name = "cs4349" },
+       { }
 };
 
 MODULE_DEVICE_TABLE(i2c, cs4349_i2c_id);
index 52b02ceaa7e3fac69765d647e3a8c1e129728acf..98cb61dd88c1fa186a8d587e2bae1549c9389242 100644 (file)
@@ -40,13 +40,13 @@ static const struct of_device_id cs530x_of_match[] = {
 MODULE_DEVICE_TABLE(of, cs530x_of_match);
 
 static const struct i2c_device_id cs530x_i2c_id[] = {
-       { "cs4282", CS4282 },
-       { "cs4302", CS4302 },
-       { "cs4304", CS4304 },
-       { "cs4308", CS4308 },
-       { "cs5302", CS5302 },
-       { "cs5304", CS5304 },
-       { "cs5308", CS5308 },
+       { .name = "cs4282", .driver_data = CS4282 },
+       { .name = "cs4302", .driver_data = CS4302 },
+       { .name = "cs4304", .driver_data = CS4304 },
+       { .name = "cs4308", .driver_data = CS4308 },
+       { .name = "cs5302", .driver_data = CS5302 },
+       { .name = "cs5304", .driver_data = CS5304 },
+       { .name = "cs5308", .driver_data = CS5308 },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, cs530x_i2c_id);
index 93ea2fb4dae93fec901f06ff0b1f6c530fff025e..511453b4c3752dc3e372a3327c0650542b0ccefb 100644 (file)
@@ -1083,8 +1083,8 @@ static const struct of_device_id cs53l30_of_match[] = {
 MODULE_DEVICE_TABLE(of, cs53l30_of_match);
 
 static const struct i2c_device_id cs53l30_id[] = {
-       { "cs53l30" },
-       {}
+       { .name = "cs53l30" },
+       { }
 };
 
 MODULE_DEVICE_TABLE(i2c, cs53l30_id);
index b0033bf9be3aa8a9a6a2fafc742f75f85c879d44..83c6cbd40804f6503668cc09efd9752ad611f6c5 100644 (file)
@@ -1681,9 +1681,9 @@ static void cx2072x_i2c_remove(struct i2c_client *i2c)
 }
 
 static const struct i2c_device_id cx2072x_i2c_id[] = {
-       { "cx20721" },
-       { "cx20723" },
-       {}
+       { .name = "cx20721" },
+       { .name = "cx20723" },
+       { }
 };
 MODULE_DEVICE_TABLE(i2c, cx2072x_i2c_id);
 
index 94e59546c2fe26208ad40104379c3a9ef972ee84..4df1a25e318b6e1f6e020803c7b7c4387e284640 100644 (file)
@@ -1238,7 +1238,7 @@ static int da7210_i2c_probe(struct i2c_client *i2c)
 }
 
 static const struct i2c_device_id da7210_i2c_id[] = {
-       { "da7210" },
+       { .name = "da7210" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, da7210_i2c_id);
index 19f69a523f221f78747fbe29c9931254366ff4cc..98b8858ded02536e495bf9bcbd64bdee5f13bc42 100644 (file)
@@ -2271,7 +2271,7 @@ static const struct dev_pm_ops da7213_pm = {
 };
 
 static const struct i2c_device_id da7213_i2c_id[] = {
-       { "da7213" },
+       { .name = "da7213" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, da7213_i2c_id);
index 5c80839704c70e6b1b0172713b168d24ee9b3998..93bd045ed8701234b54006abde3d0c35b0250caf 100644 (file)
@@ -3282,8 +3282,8 @@ static int da7218_i2c_probe(struct i2c_client *i2c)
 }
 
 static const struct i2c_device_id da7218_i2c_id[] = {
-       { "da7217", DA7217_DEV_ID },
-       { "da7218", DA7218_DEV_ID },
+       { .name = "da7217", .driver_data = DA7217_DEV_ID },
+       { .name = "da7218", .driver_data = DA7218_DEV_ID },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, da7218_i2c_id);
index ec4059f381be3c72d564bcf11ec192f50a4daa51..f0874d891e120fa22367cb5c02c3adad4a3f1468 100644 (file)
@@ -2712,7 +2712,7 @@ static int da7219_i2c_probe(struct i2c_client *i2c)
 }
 
 static const struct i2c_device_id da7219_i2c_id[] = {
-       { "da7219", },
+       { .name = "da7219" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, da7219_i2c_id);
index 140e449d3ef4d2522a397b6a63295e07ddfe4af6..12d1ac98461e47e51dab3103b731484e3b2bd795 100644 (file)
@@ -1547,7 +1547,7 @@ err:
 }
 
 static const struct i2c_device_id da732x_i2c_id[] = {
-       { "da7320"},
+       { .name = "da7320" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, da732x_i2c_id);
index a52276e32f2fdc7a0da081af01b99eb8b36373d8..a88c135331457bb170fa16eba72132578ebc8afe 100644 (file)
@@ -1513,7 +1513,7 @@ static int da9055_i2c_probe(struct i2c_client *i2c)
  * and PMIC, which must be different to operate together.
  */
 static const struct i2c_device_id da9055_i2c_id[] = {
-       { "da9055-codec" },
+       { .name = "da9055-codec" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, da9055_i2c_id);
index 564af5c04dbb8bb40c3f771dd66f3f4c223dbd54..6fe3ae41afbd54e9c76f66d5b0e9fc4a56196da6 100644 (file)
@@ -955,7 +955,7 @@ static int es8311_i2c_probe(struct i2c_client *i2c_client)
 }
 
 static const struct i2c_device_id es8311_id[] = {
-       { "es8311" },
+       { .name = "es8311" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, es8311_id);
index 9245c33700dee27b81095e0c48fd78085511efcb..6a428387e4964a21f6d1abfa88489a672fbca482 100644 (file)
@@ -895,8 +895,8 @@ static int es8316_i2c_probe(struct i2c_client *i2c_client)
 }
 
 static const struct i2c_device_id es8316_i2c_id[] = {
-       {"es8316" },
-       {}
+       { .name = "es8316" },
+       { }
 };
 MODULE_DEVICE_TABLE(i2c, es8316_i2c_id);
 
index 605375b154c80230425f74a4711608199b9eb19a..d067f7bda03a69718dbac92d6a84897a17066ade 100644 (file)
@@ -787,7 +787,7 @@ static int es8323_i2c_probe(struct i2c_client *i2c_client)
 }
 
 static const struct i2c_device_id es8323_i2c_id[] = {
-       { "es8323" },
+       { .name = "es8323" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, es8323_i2c_id);
index 55a65ef992088068c9eb51117ee359be8efa55d4..a79b2da350998d3653c4eecd87fb30af7877eb95 100644 (file)
@@ -1347,8 +1347,8 @@ static void es8326_i2c_remove(struct i2c_client *i2c)
 }
 
 static const struct i2c_device_id es8326_i2c_id[] = {
-       {"es8326" },
-       {}
+       { .name = "es8326" },
+       { }
 };
 MODULE_DEVICE_TABLE(i2c, es8326_i2c_id);
 
index 56bfbe9261ceeaa496daac358bfd061a4a9cd0f2..36a4987e1a593df2d57ed5be4c1e848f31590196 100644 (file)
@@ -16,8 +16,8 @@
 #include "es8328.h"
 
 static const struct i2c_device_id es8328_id[] = {
-       { "es8328" },
-       { "es8388" },
+       { .name = "es8328" },
+       { .name = "es8388" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, es8328_id);
index 0b9406e93c0efb69c05d7082f6fef2726949f98c..e8747bc24433f3106a4686b2e7e52dbb6dcc32d5 100644 (file)
@@ -752,7 +752,7 @@ static void es8375_i2c_shutdown(struct i2c_client *i2c)
 }
 
 static const struct i2c_device_id es8375_id[] = {
-       {"es8375"},
+       { .name = "es8375" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, es8375_id);
index 8d418cae371a82492e1fbeeb6511cfb1dfd02202..de47b24417d669a039116507ecfab1dc2bdc7f0a 100644 (file)
@@ -1015,7 +1015,7 @@ MODULE_DEVICE_TABLE(of, es8389_if_dt_ids);
 #endif
 
 static const struct i2c_device_id es8389_i2c_id[] = {
-       {"es8389"},
+       { .name = "es8389" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, es8389_i2c_id);
index e6195b71adadcc7b40065e3cc711b469e5e9bcad..9394922f3d7a710430536b6a434b563cffecff45 100644 (file)
@@ -1557,9 +1557,9 @@ static void fs210x_i2c_remove(struct i2c_client *client)
 }
 
 static const struct i2c_device_id fs210x_i2c_id[] = {
-       { "fs2104" },
-       { "fs2105s" },
-       {}
+       { .name = "fs2104" },
+       { .name = "fs2105s" },
+       { }
 };
 MODULE_DEVICE_TABLE(i2c, fs210x_i2c_id);
 
index b7a94631d77de018e53e716b9629267f8c4b543e..fa1c23dda4eb6ecde1a6337970588dfda5a57e9c 100644 (file)
@@ -1133,7 +1133,7 @@ static int isabelle_i2c_probe(struct i2c_client *i2c)
 }
 
 static const struct i2c_device_id isabelle_i2c_id[] = {
-       { "isabelle" },
+       { .name = "isabelle" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, isabelle_i2c_id);
index 26cdb750cbca62d6aa193d839792a8ab08ec11e6..06add7fb673791d25edba6f25eb40495266f0332 100644 (file)
@@ -128,7 +128,7 @@ static int lm4857_i2c_probe(struct i2c_client *i2c)
 }
 
 static const struct i2c_device_id lm4857_i2c_id[] = {
-       { "lm4857" },
+       { .name = "lm4857" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, lm4857_i2c_id);
index 0430305097959e54a5de329bc66f6b6e7c475ba7..6e2e292d143bb2d1a73c569c96189ba7d8ce12b5 100644 (file)
@@ -1443,7 +1443,7 @@ static int lm49453_i2c_probe(struct i2c_client *i2c)
 }
 
 static const struct i2c_device_id lm49453_i2c_id[] = {
-       { "lm49453" },
+       { .name = "lm49453" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, lm49453_i2c_id);
index 7ad7a9fb72551df5aa2d079de8ca45175127010e..8621d9bdb9fd65f641323a9de1476492f32697aa 100644 (file)
@@ -213,7 +213,7 @@ static int max9768_i2c_probe(struct i2c_client *client)
 }
 
 static const struct i2c_device_id max9768_i2c_id[] = {
-       { "max9768" },
+       { .name = "max9768" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, max9768_i2c_id);
index 9f40ca4b60d5b49a92ade76ac0e38f187bac6ed4..df438baf05dc3847b182da81aa3ca7b6b436a85d 100644 (file)
@@ -1722,8 +1722,8 @@ static const struct snd_soc_component_driver soc_component_dev_max98088 = {
 };
 
 static const struct i2c_device_id max98088_i2c_id[] = {
-       { "max98088", MAX98088 },
-       { "max98089", MAX98089 },
+       { .name = "max98088", .driver_data = MAX98088 },
+       { .name = "max98089", .driver_data = MAX98089 },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, max98088_i2c_id);
index 13a15459040fc38681b7e279fb35db9fd656d9b9..aaa34ba86802d91e2cef06c76114ce3ca254076a 100644 (file)
@@ -2572,8 +2572,8 @@ static const struct regmap_config max98090_regmap = {
 };
 
 static const struct i2c_device_id max98090_i2c_id[] = {
-       { "max98090", MAX98090 },
-       { "max98091", MAX98091 },
+       { .name = "max98090", .driver_data = MAX98090 },
+       { .name = "max98091", .driver_data = MAX98091 },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, max98090_i2c_id);
index aae6423156e1663c09556ec4016fe79ba146f380..ced9bd4d94da039f1f560cc92562ab7259b75d5d 100644 (file)
@@ -2109,7 +2109,7 @@ static const struct snd_soc_component_driver soc_component_dev_max98095 = {
 };
 
 static const struct i2c_device_id max98095_i2c_id[] = {
-       { "max98095", MAX98095 },
+       { .name = "max98095", .driver_data = MAX98095 },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, max98095_i2c_id);
index 852db211ba1e72335857af32f3ac7b0445b89acb..c8d4c68af56236afef9ae1bdcb0d0f2e052220ea 100644 (file)
@@ -400,7 +400,7 @@ static int max98371_i2c_probe(struct i2c_client *i2c)
 }
 
 static const struct i2c_device_id max98371_i2c_id[] = {
-       { "max98371" },
+       { .name = "max98371" },
        { }
 };
 
index f58b8c8625a7061fc9564c9f84dd95d77df33b72..20de379d08de2e5651349ce672d01b782d49ca89 100644 (file)
@@ -576,8 +576,8 @@ static int max98373_i2c_probe(struct i2c_client *i2c)
 }
 
 static const struct i2c_device_id max98373_i2c_id[] = {
-       { "max98373"},
-       { },
+       { .name = "max98373" },
+       { }
 };
 
 MODULE_DEVICE_TABLE(i2c, max98373_i2c_id);
index 076f15a9867e13527324354cd6364ade3bca4846..2576841b7de212f1f4df3c5ef820662e3a6d6f94 100644 (file)
@@ -977,8 +977,8 @@ static int max98388_i2c_probe(struct i2c_client *i2c)
 }
 
 static const struct i2c_device_id max98388_i2c_id[] = {
-       { "max98388"},
-       { },
+       { .name = "max98388" },
+       { }
 };
 
 MODULE_DEVICE_TABLE(i2c, max98388_i2c_id);
index 65f095c4719186cce08fdf3dc1ecf731b02a34e1..2bbedf84ee5d089df260df39a1c1e4f3784a931f 100644 (file)
@@ -1096,8 +1096,8 @@ static int max98390_i2c_probe(struct i2c_client *i2c)
 }
 
 static const struct i2c_device_id max98390_i2c_id[] = {
-       { "max98390"},
-       {},
+       { .name = "max98390" },
+       { }
 };
 
 MODULE_DEVICE_TABLE(i2c, max98390_i2c_id);
index 18fd902271871d59054cca7aad9bd2fc816b1238..9c1d7213410c279babf695ae69dd09d1f0ffe00d 100644 (file)
@@ -1871,9 +1871,9 @@ static int max98396_i2c_probe(struct i2c_client *i2c)
 }
 
 static const struct i2c_device_id max98396_i2c_id[] = {
-       { "max98396", CODEC_TYPE_MAX98396},
-       { "max98397", CODEC_TYPE_MAX98397},
-       { },
+       { .name = "max98396", .driver_data = CODEC_TYPE_MAX98396 },
+       { .name = "max98397", .driver_data = CODEC_TYPE_MAX98397 },
+       { }
 };
 
 MODULE_DEVICE_TABLE(i2c, max98396_i2c_id);
index 1fcbc64a27711031ac26ba0551d1e0c062a6ee81..9bd6a61212c1d38a8c9ecb57e126937c19ccadf7 100644 (file)
@@ -321,7 +321,7 @@ static int max9850_i2c_probe(struct i2c_client *i2c)
 }
 
 static const struct i2c_device_id max9850_i2c_id[] = {
-       { "max9850" },
+       { .name = "max9850" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, max9850_i2c_id);
index c94142768c818228aae8b90c636cfd6b496e9859..8b2620eaf9b0a5d846898f1646966493165becf0 100644 (file)
@@ -363,7 +363,7 @@ MODULE_DEVICE_TABLE(of, max98504_of_match);
 #endif
 
 static const struct i2c_device_id max98504_i2c_id[] = {
-       { "max98504" },
+       { .name = "max98504" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, max98504_i2c_id);
index 5bc3d95ade5a6a1d18e985fa07a3b91a5b20adf9..4fb98505db1a19b10d8b74de4e83b581a269b6ee 100644 (file)
@@ -734,8 +734,8 @@ static int max98520_i2c_probe(struct i2c_client *i2c)
 }
 
 static const struct i2c_device_id max98520_i2c_id[] = {
-       { "max98520"},
-       { },
+       { .name = "max98520" },
+       { }
 };
 
 MODULE_DEVICE_TABLE(i2c, max98520_i2c_id);
index 716d16daf7d7e171fa49633690e049cdc7a6802e..0d7ac37850bba4f69aa460eb8585102a9f0c822c 100644 (file)
@@ -709,7 +709,7 @@ static void max9860_remove(struct i2c_client *i2c)
 }
 
 static const struct i2c_device_id max9860_i2c_id[] = {
-       { "max9860", },
+       { .name = "max9860" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, max9860_i2c_id);
index 9cad9b698cf2fb484f30991bc10ebe855e678fde..07a53ec2a18a3f8f7f74c4c17fd990abe44408bf 100644 (file)
@@ -689,7 +689,7 @@ static int max9867_i2c_probe(struct i2c_client *i2c)
 }
 
 static const struct i2c_device_id max9867_i2c_id[] = {
-       { "max9867" },
+       { .name = "max9867" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, max9867_i2c_id);
index 1bd0d4761ca67df94cf2a0bfdd0944129e431504..7cd07b6f9dd63b7535c996c67b834effadc9b224 100644 (file)
@@ -151,7 +151,7 @@ static int max9877_i2c_probe(struct i2c_client *client)
 }
 
 static const struct i2c_device_id max9877_i2c_id[] = {
-       { "max9877" },
+       { .name = "max9877" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, max9877_i2c_id);
index 124af6408d966b75581c4fa7c296f744f0c9d0e6..4302ab16a642a2b2c928a4157d4cbaa258360db7 100644 (file)
@@ -617,7 +617,7 @@ static int max98925_i2c_probe(struct i2c_client *i2c)
 }
 
 static const struct i2c_device_id max98925_i2c_id[] = {
-       { "max98925" },
+       { .name = "max98925" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, max98925_i2c_id);
index ae962bda163ebfcd3f9c689d8137bf57e98021b0..5305e1f9d97fd017c9c5b2f4c18692885f305c26 100644 (file)
@@ -565,7 +565,7 @@ err_out:
 }
 
 static const struct i2c_device_id max98926_i2c_id[] = {
-       { "max98926" },
+       { .name = "max98926" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, max98926_i2c_id);
index 0e9b8970997cf6485a775a3187b1470f93b5c057..65e6fdb30eec8d9ae6093bbd07eabf8841e49023 100644 (file)
@@ -873,8 +873,8 @@ static void max98927_i2c_remove(struct i2c_client *i2c)
 }
 
 static const struct i2c_device_id max98927_i2c_id[] = {
-       { "max98927"},
-       { },
+       { .name = "max98927" },
+       { }
 };
 
 MODULE_DEVICE_TABLE(i2c, max98927_i2c_id);
index fad0cc90234614f6a859cf17f863c95d14b55c5e..8a14626d43ffde20b27c40bc4b123bf738c13ac6 100644 (file)
@@ -573,7 +573,7 @@ static int ml26124_i2c_probe(struct i2c_client *i2c)
 }
 
 static const struct i2c_device_id ml26124_i2c_id[] = {
-       { "ml26124" },
+       { .name = "ml26124" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, ml26124_i2c_id);
index ef63fd113cb73a1f785f6ed7f34b02b96cd31bab..21741afc80ef12d6c59aad932398978826899d58 100644 (file)
@@ -557,8 +557,8 @@ static const struct of_device_id __maybe_unused mt6660_of_id[] = {
 MODULE_DEVICE_TABLE(of, mt6660_of_id);
 
 static const struct i2c_device_id mt6660_i2c_id[] = {
-       {"mt6660" },
-       {},
+       { .name = "mt6660" },
+       { }
 };
 MODULE_DEVICE_TABLE(i2c, mt6660_i2c_id);
 
index 58ef5c493835b53fc6ff3ccec4075127c5c5022e..236d94c29c249e4e216ba09c41dc9529a6d3f1bf 100644 (file)
@@ -877,7 +877,7 @@ err:
 }
 
 static const struct i2c_device_id nau8325_i2c_ids[] = {
-       { "nau8325" },
+       { .name = "nau8325" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, nau8325_i2c_ids);
index caf2edb23088b61430f496585c87c98a0c1d99ab..fefbd5722c0041bc343f049ff15b281e6d1affb8 100644 (file)
@@ -965,7 +965,7 @@ static int nau8540_i2c_probe(struct i2c_client *i2c)
 }
 
 static const struct i2c_device_id nau8540_i2c_ids[] = {
-       { "nau8540" },
+       { .name = "nau8540" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, nau8540_i2c_ids);
index 9870e62d372e2b7f28eb2d6ae4545edbd09ffe45..a050387dd485f4693d0281e2000cc4c39aaf9f61 100644 (file)
@@ -896,9 +896,9 @@ static int nau8810_i2c_probe(struct i2c_client *i2c)
 }
 
 static const struct i2c_device_id nau8810_i2c_id[] = {
-       { "nau8810" },
-       { "nau8812" },
-       { "nau8814" },
+       { .name = "nau8810" },
+       { .name = "nau8812" },
+       { .name = "nau8814" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, nau8810_i2c_id);
index ffb526de0021cab28216fc47945036987907d784..c45c5b864ea4b848fde412bc1a5e3a87aaa8895c 100644 (file)
@@ -1968,7 +1968,7 @@ static int nau8821_i2c_probe(struct i2c_client *i2c)
 }
 
 static const struct i2c_device_id nau8821_i2c_ids[] = {
-       { "nau8821" },
+       { .name = "nau8821" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, nau8821_i2c_ids);
index a11759f85eaca1065d6fc09d5e20584bef38002d..19fee5f4bf5f60e112b1c447a9a6dad9629c2f9c 100644 (file)
@@ -1193,7 +1193,7 @@ static int nau8822_i2c_probe(struct i2c_client *i2c)
 }
 
 static const struct i2c_device_id nau8822_i2c_id[] = {
-       { "nau8822" },
+       { .name = "nau8822" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, nau8822_i2c_id);
index 6ce76376244300c7e7f83e58b748224831088959..426a488ff2a348ebba6fc9287d7d16a0f19a4376 100644 (file)
@@ -2020,7 +2020,7 @@ static int nau8824_i2c_probe(struct i2c_client *i2c)
 }
 
 static const struct i2c_device_id nau8824_i2c_ids[] = {
-       { "nau8824" },
+       { .name = "nau8824" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, nau8824_i2c_ids);
index c6df21b91e3693b7e8befeb43ba4aec04bc427e3..8db90b933eeb9beee42c9dd5b91e5b735ee5d37a 100644 (file)
@@ -2931,7 +2931,7 @@ static int nau8825_i2c_probe(struct i2c_client *i2c)
 }
 
 static const struct i2c_device_id nau8825_i2c_ids[] = {
-       { "nau8825" },
+       { .name = "nau8825" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, nau8825_i2c_ids);
index 2b93bea11752ccccbbb3ace014004ca38ee9d181..5837b9379fee7e485eda03fe6c928048dff35a06 100644 (file)
@@ -454,8 +454,8 @@ static int ntp8835_i2c_probe(struct i2c_client *i2c)
 }
 
 static const struct i2c_device_id ntp8835_i2c_id[] = {
-       { "ntp8835" },
-       {}
+       { .name = "ntp8835" },
+       { }
 };
 MODULE_DEVICE_TABLE(i2c, ntp8835_i2c_id);
 
index 5593d48ef696f59c8d94d18e9f08394d56cc8724..a18d79aa80aaab269ba3ef398ae50363c741ac31 100644 (file)
@@ -370,8 +370,8 @@ static int ntp8918_i2c_probe(struct i2c_client *i2c)
 }
 
 static const struct i2c_device_id ntp8918_i2c_id[] = {
-       { "ntp8918" },
-       {}
+       { .name = "ntp8918" },
+       { }
 };
 MODULE_DEVICE_TABLE(i2c, ntp8918_i2c_id);
 
index f4e5f3133f2b0420d23f26d16d8e36863391465e..cb923cecb47fc1c788a234ae75909e368e0fdeef 100644 (file)
@@ -290,8 +290,8 @@ static const struct snd_soc_component_driver soc_component_dev_pcm1681 = {
 };
 
 static const struct i2c_device_id pcm1681_i2c_id[] = {
-       {"pcm1681"},
-       {}
+       { .name = "pcm1681" },
+       { }
 };
 MODULE_DEVICE_TABLE(i2c, pcm1681_i2c_id);
 
index abadf4f8ed5eeb1d3bf79d1a9a64cd84b193bbef..4f1bb13fd4c37eaa91aae22e51f6745e4d2c100d 100644 (file)
@@ -41,7 +41,7 @@ MODULE_DEVICE_TABLE(of, pcm1789_of_match);
 #endif
 
 static const struct i2c_device_id pcm1789_i2c_ids[] = {
-       { "pcm1789" },
+       { .name = "pcm1789" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, pcm1789_i2c_ids);
index effc1dd6df22cbe7408c358b4e6fb14707b32933..5337bcc7c62c713d137ea0df9e02909075aee3ae 100644 (file)
@@ -38,7 +38,7 @@ MODULE_DEVICE_TABLE(of, pcm179x_of_match);
 #endif
 
 static const struct i2c_device_id pcm179x_i2c_ids[] = {
-       { "pcm179x" },
+       { .name = "pcm179x" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, pcm179x_i2c_ids);
index a50f9f6e39c18b5430955e02e50a8953d3076167..3bd9d557e3c20770348800a0bce907c7b574fd92 100644 (file)
@@ -23,10 +23,10 @@ static const struct of_device_id pcm186x_of_match[] = {
 MODULE_DEVICE_TABLE(of, pcm186x_of_match);
 
 static const struct i2c_device_id pcm186x_i2c_id[] = {
-       { "pcm1862", PCM1862 },
-       { "pcm1863", PCM1863 },
-       { "pcm1864", PCM1864 },
-       { "pcm1865", PCM1865 },
+       { .name = "pcm1862", .driver_data = PCM1862 },
+       { .name = "pcm1863", .driver_data = PCM1863 },
+       { .name = "pcm1864", .driver_data = PCM1864 },
+       { .name = "pcm1865", .driver_data = PCM1865 },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, pcm186x_i2c_id);
index ff18c74b616c86b001febbd998280732bdea9967..334f344761aa9a07258dc02fff20d3252eec5c7d 100644 (file)
@@ -33,7 +33,7 @@ static void pcm3168a_i2c_remove(struct i2c_client *i2c)
 }
 
 static const struct i2c_device_id pcm3168a_i2c_id[] = {
-       { "pcm3168a", },
+       { .name = "pcm3168a" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, pcm3168a_i2c_id);
index a1d849b0c50f39d5a7512b42d0d024d845cd289a..836865d11d22679ee249d9e5c8e492dce77a784c 100644 (file)
@@ -35,13 +35,13 @@ static void pcm512x_i2c_remove(struct i2c_client *i2c)
 }
 
 static const struct i2c_device_id pcm512x_i2c_id[] = {
-       { "pcm5121", },
-       { "pcm5122", },
-       { "pcm5141", },
-       { "pcm5142", },
-       { "pcm5242", },
-       { "tas5754", },
-       { "tas5756", },
+       { .name = "pcm5121" },
+       { .name = "pcm5122" },
+       { .name = "pcm5141" },
+       { .name = "pcm5142" },
+       { .name = "pcm5242" },
+       { .name = "tas5754" },
+       { .name = "tas5756" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, pcm512x_i2c_id);
index 78b21fbfad50e03ce04dab8201752024fcad3c1e..27ff8d0983b0414fa2b41dbf1b98e763f0958963 100644 (file)
 #include "pcm6240.h"
 
 static const struct i2c_device_id pcmdevice_i2c_id[] = {
-       { "adc3120",  ADC3120  },
-       { "adc5120",  ADC5120  },
-       { "adc6120",  ADC6120  },
-       { "dix4192",  DIX4192  },
-       { "pcm1690",  PCM1690  },
-       { "pcm3120",  PCM3120  },
-       { "pcm3140",  PCM3140  },
-       { "pcm5120",  PCM5120  },
-       { "pcm5140",  PCM5140  },
-       { "pcm6120",  PCM6120  },
-       { "pcm6140",  PCM6140  },
-       { "pcm6240",  PCM6240  },
-       { "pcm6260",  PCM6260  },
-       { "pcm9211",  PCM9211  },
-       { "pcmd3140", PCMD3140 },
-       { "pcmd3180", PCMD3180 },
-       { "pcmd512x", PCMD512X },
-       { "taa5212",  TAA5212  },
-       { "taa5412",  TAA5412  },
-       { "tad5212",  TAD5212  },
-       { "tad5412",  TAD5412  },
-       {}
+       { .name = "adc3120", .driver_data = ADC3120 },
+       { .name = "adc5120", .driver_data = ADC5120 },
+       { .name = "adc6120", .driver_data = ADC6120 },
+       { .name = "dix4192", .driver_data = DIX4192 },
+       { .name = "pcm1690", .driver_data = PCM1690 },
+       { .name = "pcm3120", .driver_data = PCM3120 },
+       { .name = "pcm3140", .driver_data = PCM3140 },
+       { .name = "pcm5120", .driver_data = PCM5120 },
+       { .name = "pcm5140", .driver_data = PCM5140 },
+       { .name = "pcm6120", .driver_data = PCM6120 },
+       { .name = "pcm6140", .driver_data = PCM6140 },
+       { .name = "pcm6240", .driver_data = PCM6240 },
+       { .name = "pcm6260", .driver_data = PCM6260 },
+       { .name = "pcm9211", .driver_data = PCM9211 },
+       { .name = "pcmd3140", .driver_data = PCMD3140 },
+       { .name = "pcmd3180", .driver_data = PCMD3180 },
+       { .name = "pcmd512x", .driver_data = PCMD512X },
+       { .name = "taa5212", .driver_data = TAA5212 },
+       { .name = "taa5412", .driver_data = TAA5412 },
+       { .name = "tad5212", .driver_data = TAD5212 },
+       { .name = "tad5412", .driver_data = TAD5412 },
+       { }
 };
 MODULE_DEVICE_TABLE(i2c, pcmdevice_i2c_id);
 
index 03f31d9d916e6d912c5ac970133c25b7d05dc05a..15488a0592837a6652596434f5a7c4536ce200b1 100644 (file)
@@ -2201,7 +2201,7 @@ MODULE_DEVICE_TABLE(acpi, rt1011_acpi_match);
 #endif
 
 static const struct i2c_device_id rt1011_i2c_id[] = {
-       { "rt1011" },
+       { .name = "rt1011" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, rt1011_i2c_id);
index ca1ed9d5a24ed4a32a33fcae3827a4b6737ee564..ff0c08ff610e1d9a2260162b0d558cdcfac0d0b4 100644 (file)
@@ -1094,7 +1094,7 @@ static const struct regmap_config rt1015_regmap = {
 };
 
 static const struct i2c_device_id rt1015_i2c_id[] = {
-       { "rt1015" },
+       { .name = "rt1015" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, rt1015_i2c_id);
index 9f86f071fca8256f9e181c133bb9d2785f08cb17..11c8c45574a1313d312ea83c9b51ecfcfef1cb6f 100644 (file)
@@ -608,7 +608,7 @@ static const struct regmap_config rt1016_regmap = {
 };
 
 static const struct i2c_device_id rt1016_i2c_id[] = {
-       { "rt1016" },
+       { .name = "rt1016" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, rt1016_i2c_id);
index 86539c6f6cc1e9725f03c5a13bbd43d1f4705830..370521149ac8a715539b4cdbf8e68664431c184e 100644 (file)
@@ -540,7 +540,7 @@ static const struct regmap_config rt1019_regmap = {
 };
 
 static const struct i2c_device_id rt1019_i2c_id[] = {
-       { "rt1019" },
+       { .name = "rt1019" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, rt1019_i2c_id);
index 26b7382f97ef66e0c7594e57dc2a5d8d43e69cb7..2d5fad76cf5283f712116cfc4d2143b681ef343d 100644 (file)
@@ -981,8 +981,8 @@ MODULE_DEVICE_TABLE(acpi, rt1305_acpi_match);
 #endif
 
 static const struct i2c_device_id rt1305_i2c_id[] = {
-       { "rt1305" },
-       { "rt1306" },
+       { .name = "rt1305" },
+       { .name = "rt1306" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, rt1305_i2c_id);
index df50b38c24b97b53bb6abf0b024d820015656f07..630946cd7cdf8023222e8bb40a272a210cb3b79b 100644 (file)
@@ -795,7 +795,7 @@ MODULE_DEVICE_TABLE(acpi, rt1308_acpi_match);
 #endif
 
 static const struct i2c_device_id rt1308_i2c_id[] = {
-       { "rt1308" },
+       { .name = "rt1308" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, rt1308_i2c_id);
index a80643099644999c2203d42b518c2a32c9f51d7a..d13fd0e141252e0ceb66f972a5c88f1bf852158d 100644 (file)
@@ -1139,7 +1139,7 @@ static const struct regmap_config rt1318_regmap = {
 };
 
 static const struct i2c_device_id rt1318_i2c_id[] = {
-       { "rt1318" },
+       { .name = "rt1318" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, rt1318_i2c_id);
index bba714020c706f6ffdd636961da50b0073b93826..63b5fc439773dd26b131d874112aad0097efb430 100644 (file)
@@ -1098,8 +1098,8 @@ MODULE_DEVICE_TABLE(of, rt274_of_match);
 #endif
 
 static const struct i2c_device_id rt274_i2c_id[] = {
-       {"rt274"},
-       {}
+       { .name = "rt274" },
+       { }
 };
 MODULE_DEVICE_TABLE(i2c, rt274_i2c_id);
 
index 195658f626cc535a3e813b600e3fc5f5423b02a9..ded0ea3324804e64724299b534890270204223ce 100644 (file)
@@ -1077,9 +1077,9 @@ static const struct regmap_config rt286_regmap = {
 };
 
 static const struct i2c_device_id rt286_i2c_id[] = {
-       {"rt286"},
-       {"rt288"},
-       {}
+       { .name = "rt286" },
+       { .name = "rt288" },
+       { }
 };
 MODULE_DEVICE_TABLE(i2c, rt286_i2c_id);
 
index 7d532a5a5f7349e54809c6761f1207ba22a4b564..5414a1712b571555509f96bb9214d583d652b73c 100644 (file)
@@ -1138,8 +1138,8 @@ static const struct regmap_config rt298_regmap = {
 };
 
 static const struct i2c_device_id rt298_i2c_id[] = {
-       {"rt298"},
-       {}
+       { .name = "rt298" },
+       { }
 };
 MODULE_DEVICE_TABLE(i2c, rt298_i2c_id);
 
index 649b44b790b03075bf92e5cc4bc903527d5c036f..00a4a208d2fa75a92c88692308219a2ec37895d3 100644 (file)
@@ -1200,7 +1200,7 @@ static const struct regmap_config rt5514_regmap = {
 };
 
 static const struct i2c_device_id rt5514_i2c_id[] = {
-       { "rt5514" },
+       { .name = "rt5514" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, rt5514_i2c_id);
index 24e41af2968964014ba3a92ddde9191eda8e12b9..5c3e60eaa6a4950b76ed258e5db8c551a6a91357 100644 (file)
@@ -325,7 +325,7 @@ static int rt5575_i2c_probe(struct i2c_client *i2c)
 }
 
 static const struct i2c_device_id rt5575_i2c_id[] = {
-       { "rt5575" },
+       { .name = "rt5575" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, rt5575_i2c_id);
index 005a2ffe90aec417b8bd1913aeb6389605697d85..46ee412dc81db7b174d5d92dc415ba4d09f46203 100644 (file)
@@ -1321,7 +1321,7 @@ static const struct regmap_config rt5616_regmap = {
 };
 
 static const struct i2c_device_id rt5616_i2c_id[] = {
-       { "rt5616" },
+       { .name = "rt5616" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, rt5616_i2c_id);
index 2c404a50b120a3110520f5650f5c1c3d4b98f22c..ed1233973eb83d081a1f7303aa8203211a7bc308 100644 (file)
@@ -1671,8 +1671,8 @@ static const struct snd_soc_component_driver soc_component_dev_rt5631 = {
 };
 
 static const struct i2c_device_id rt5631_i2c_id[] = {
-       { "rt5631" },
-       { "alc5631" },
+       { .name = "rt5631" },
+       { .name = "alc5631" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, rt5631_i2c_id);
index f6c6294e1588050a679de3465642a09cf26dcb4f..8ae4033508abf487e5aa6925d626646ba4dfb679 100644 (file)
@@ -2958,9 +2958,9 @@ static const struct regmap_config rt5640_regmap = {
 };
 
 static const struct i2c_device_id rt5640_i2c_id[] = {
-       { "rt5640" },
-       { "rt5639" },
-       { "rt5642" },
+       { .name = "rt5640" },
+       { .name = "rt5639" },
+       { .name = "rt5642" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, rt5640_i2c_id);
index f7701b8d0d3c7e537c2170ea3d5aceca057286df..8a9af260e5f7fe9561a995377d47280d07b70783 100644 (file)
@@ -3646,8 +3646,8 @@ static const struct regmap_config temp_regmap = {
 };
 
 static const struct i2c_device_id rt5645_i2c_id[] = {
-       { "rt5645" },
-       { "rt5650" },
+       { .name = "rt5645" },
+       { .name = "rt5650" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, rt5645_i2c_id);
index 23c4bf3da2982f19fb5ee8d856355350427226ea..5c729135f71bd85007f26a72d995ccca39667a3f 100644 (file)
@@ -2202,7 +2202,7 @@ MODULE_DEVICE_TABLE(acpi, rt5651_acpi_match);
 #endif
 
 static const struct i2c_device_id rt5651_i2c_id[] = {
-       { "rt5651" },
+       { .name = "rt5651" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, rt5651_i2c_id);
index 3590ebd41c27e130752c59ad0b8e3d99b261329a..3097ee6d4e89f92470c69358cbb9cf0fc3facf6b 100644 (file)
@@ -3814,8 +3814,8 @@ static const struct regmap_config rt5659_regmap = {
 };
 
 static const struct i2c_device_id rt5659_i2c_id[] = {
-       { "rt5658" },
-       { "rt5659" },
+       { .name = "rt5658" },
+       { .name = "rt5659" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, rt5659_i2c_id);
index 84cdfb810c66cd53fb3f2662d108c0526dcdf88f..edf2e3e346e4f934c2fd1d7c81eb810cc40f0593 100644 (file)
@@ -1225,7 +1225,7 @@ static const struct regmap_config rt5660_regmap = {
 };
 
 static const struct i2c_device_id rt5660_i2c_id[] = {
-       { "rt5660" },
+       { .name = "rt5660" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, rt5660_i2c_id);
index eee1c98cc4aa6d2d52292e59dcbb602301f6dbae..262d3bba1f3d4f57659d4f4a00d824953110ca33 100644 (file)
@@ -3307,8 +3307,8 @@ static const struct regmap_config temp_regmap = {
 };
 
 static const struct i2c_device_id rt5663_i2c_id[] = {
-       { "rt5663" },
-       {}
+       { .name = "rt5663" },
+       { }
 };
 MODULE_DEVICE_TABLE(i2c, rt5663_i2c_id);
 
index 38fb3a277e26d378230f77aa46d5132578d179f8..48f57cd0920d4968bc9041adb3f7033bb9a3b1cf 100644 (file)
@@ -4534,8 +4534,8 @@ static const struct regmap_config rt5665_regmap = {
 };
 
 static const struct i2c_device_id rt5665_i2c_id[] = {
-       {"rt5665"},
-       {}
+       { .name = "rt5665" },
+       { }
 };
 MODULE_DEVICE_TABLE(i2c, rt5665_i2c_id);
 
index c551696ae11aa7c5c57cf77460d3b0c13653cb05..fed6de40b8c80b0c4f859acd6b98f6529320eda7 100644 (file)
@@ -2334,8 +2334,8 @@ static const struct regmap_config rt5668_regmap = {
 };
 
 static const struct i2c_device_id rt5668_i2c_id[] = {
-       {"rt5668b"},
-       {}
+       { .name = "rt5668b" },
+       { }
 };
 MODULE_DEVICE_TABLE(i2c, rt5668_i2c_id);
 
index cb5d03bf4c7f47941d1ed5e897328bdb2cb2f120..1d120b5dc2be731cf15b208002622efe900f2e6a 100644 (file)
@@ -2876,9 +2876,9 @@ static const struct regmap_config rt5670_regmap = {
 };
 
 static const struct i2c_device_id rt5670_i2c_id[] = {
-       { "rt5670" },
-       { "rt5671" },
-       { "rt5672" },
+       { .name = "rt5670" },
+       { .name = "rt5671" },
+       { .name = "rt5672" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, rt5670_i2c_id);
index 60a93c3fe2e7ddc31060da278ca40700e37ac3ec..ac084ca008f3cc8ac925a5faecfdae8ab9c5f7d4 100644 (file)
@@ -5210,7 +5210,7 @@ static const struct acpi_device_id rt5677_acpi_match[] = {
 MODULE_DEVICE_TABLE(acpi, rt5677_acpi_match);
 
 static const struct i2c_device_id rt5677_i2c_id[] = {
-       { "rt5677", RT5677 },
+       { .name = "rt5677", .driver_data = RT5677 },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, rt5677_i2c_id);
index e556a365adc81dcb96cc8397b32d1623be2cd49c..286cf0d17968a1db369128418c8a4d75a6355564 100644 (file)
@@ -324,8 +324,8 @@ static const struct acpi_device_id rt5682_acpi_match[] = {
 MODULE_DEVICE_TABLE(acpi, rt5682_acpi_match);
 
 static const struct i2c_device_id rt5682_i2c_id[] = {
-       {"rt5682"},
-       {}
+       { .name = "rt5682" },
+       { }
 };
 MODULE_DEVICE_TABLE(i2c, rt5682_i2c_id);
 
index 98de94a792603d6bac438726fc9b50c2356bec43..3624067950c0ea36ca53b4237290d4866d01a47e 100644 (file)
@@ -3325,8 +3325,8 @@ static const struct acpi_device_id rt5682s_acpi_match[] = {
 MODULE_DEVICE_TABLE(acpi, rt5682s_acpi_match);
 
 static const struct i2c_device_id rt5682s_i2c_id[] = {
-       {"rt5682s"},
-       {}
+       { .name = "rt5682s" },
+       { }
 };
 MODULE_DEVICE_TABLE(i2c, rt5682s_i2c_id);
 
index 320312f8db92fd0565a4405d20ed15360995b73c..59642673b4cbedf66614b7959eabea766f15ff43 100644 (file)
@@ -1809,8 +1809,8 @@ static void sgtl5000_i2c_shutdown(struct i2c_client *client)
 }
 
 static const struct i2c_device_id sgtl5000_id[] = {
-       {"sgtl5000"},
-       {},
+       { .name = "sgtl5000" },
+       { }
 };
 
 MODULE_DEVICE_TABLE(i2c, sgtl5000_id);
index 06de2b4fce5e2b29b3bf1a25ba1e4a75a530ff21..c7aaf98ef71e8fe39e93570ea8983d1735265360 100644 (file)
@@ -1782,8 +1782,8 @@ static void sma1303_i2c_remove(struct i2c_client *client)
 }
 
 static const struct i2c_device_id sma1303_i2c_id[] = {
-       {"sma1303"},
-       {}
+       { .name = "sma1303" },
+       { }
 };
 MODULE_DEVICE_TABLE(i2c, sma1303_i2c_id);
 
index 5850bf6e71cade36d0e504de73a57cc1ffbb7ad2..1de6bd1e4ee7ec2c95ac6ad1a4edf27cafe70cd4 100644 (file)
@@ -2008,8 +2008,8 @@ static void sma1307_i2c_remove(struct i2c_client *client)
 }
 
 static const struct i2c_device_id sma1307_i2c_id[] = {
-       { "sma1307a" },
-       { "sma1307aq" },
+       { .name = "sma1307a" },
+       { .name = "sma1307aq" },
        { }
 };
 
index 55f00ce7c7188004b332400606537917061cc7ba..34b3abdb9a70c6c3c41af95f62d39f9cb158cc64 100644 (file)
@@ -19,7 +19,7 @@ static int src4xxx_i2c_probe(struct i2c_client *i2c)
 }
 
 static const struct i2c_device_id src4xxx_i2c_ids[] = {
-       { "src4392" },
+       { .name = "src4392" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, src4xxx_i2c_ids);
index 9008e5416004fc0f8aceb05173223da22c8c4f8b..5192569ba6a89bf1b059d79548245fb3968e7e8c 100644 (file)
@@ -794,7 +794,7 @@ MODULE_DEVICE_TABLE(of, ssm2518_dt_ids);
 #endif
 
 static const struct i2c_device_id ssm2518_i2c_ids[] = {
-       { "ssm2518" },
+       { .name = "ssm2518" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, ssm2518_i2c_ids);
index 49c74cba17c7016b46be4f393331bfa0c5e663ac..23570d0a2f5356e2084fba1bd1d04f820c93fe31 100644 (file)
@@ -26,9 +26,9 @@ static int ssm2602_i2c_probe(struct i2c_client *client)
 }
 
 static const struct i2c_device_id ssm2602_i2c_id[] = {
-       { "ssm2602", SSM2602 },
-       { "ssm2603", SSM2602 },
-       { "ssm2604", SSM2604 },
+       { .name = "ssm2602", .driver_data = SSM2602 },
+       { .name = "ssm2603", .driver_data = SSM2602 },
+       { .name = "ssm2604", .driver_data = SSM2604 },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, ssm2602_i2c_id);
index 15f88624faebb4eba6a7661f57875bdf47c740b1..8415dd163edd69258bad38772e0b21e9dbce521c 100644 (file)
@@ -472,7 +472,7 @@ static int ssm4567_i2c_probe(struct i2c_client *i2c)
 }
 
 static const struct i2c_device_id ssm4567_i2c_ids[] = {
-       { "ssm4567" },
+       { .name = "ssm4567" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, ssm4567_i2c_ids);
index b9f9784f51643a491436f0a6ac5815c4af655a4c..652c6e3a9e63259b3bf1b86090e7a9f8792e1093 100644 (file)
@@ -1154,9 +1154,9 @@ static int sta32x_i2c_probe(struct i2c_client *i2c)
 }
 
 static const struct i2c_device_id sta32x_i2c_id[] = {
-       { "sta326" },
-       { "sta328" },
-       { "sta329" },
+       { .name = "sta326" },
+       { .name = "sta328" },
+       { .name = "sta329" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, sta32x_i2c_id);
index 0d36cb06dcedef9290835e1a89e354ebd61f736a..99c7f7ac807b313c4f26eb9cdcba2dc6f26a83fc 100644 (file)
@@ -1237,7 +1237,7 @@ static int sta350_i2c_probe(struct i2c_client *i2c)
 }
 
 static const struct i2c_device_id sta350_i2c_id[] = {
-       { "sta350" },
+       { .name = "sta350" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, sta350_i2c_id);
index 946aa6a4e57c06b5f3040973ce6d838c8d531b40..7d57999f9cb13ff6a3ed01c67413b75d75ba318e 100644 (file)
@@ -361,7 +361,7 @@ static int sta529_i2c_probe(struct i2c_client *i2c)
 }
 
 static const struct i2c_device_id sta529_i2c_id[] = {
-       { "sta529" },
+       { .name = "sta529" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, sta529_i2c_id);
index 80206c2e09462af904b0da985477ccf8722c6182..1a7650b9b2a7bb33014995a2fd542eddae5f4fad 100644 (file)
@@ -745,7 +745,7 @@ static void tas2552_i2c_remove(struct i2c_client *client)
 }
 
 static const struct i2c_device_id tas2552_id[] = {
-       { "tas2552" },
+       { .name = "tas2552" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, tas2552_id);
index ceb367ae05ba5acb245b1940f5f52cb60a1008fe..2f7cfc2be970b513bc9064fea0a022bd7dde35f3 100644 (file)
@@ -711,9 +711,9 @@ static int tas2562_parse_dt(struct tas2562_data *tas2562)
 }
 
 static const struct i2c_device_id tas2562_id[] = {
-       { "tas2562", TAS2562 },
-       { "tas2564", TAS2564 },
-       { "tas2110", TAS2110 },
+       { .name = "tas2562", .driver_data = TAS2562 },
+       { .name = "tas2564", .driver_data = TAS2564 },
+       { .name = "tas2110", .driver_data = TAS2110 },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, tas2562_id);
index 423b7073b30221a5fa19ee3bbf1a442b93d87a2d..ea3f92499fc66c38a63d7f6cc4b36faed68a6bf1 100644 (file)
@@ -1016,7 +1016,7 @@ static int tas2764_i2c_probe(struct i2c_client *client)
 }
 
 static const struct i2c_device_id tas2764_i2c_id[] = {
-       { "tas2764"},
+       { .name = "tas2764" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, tas2764_i2c_id);
index d4d7d056141bd740a9a0cf93eaaa70ef689c395f..7b75ae3bff4ac92c2a9eb8966442920608530da9 100644 (file)
@@ -937,7 +937,7 @@ static int tas2770_i2c_probe(struct i2c_client *client)
 }
 
 static const struct i2c_device_id tas2770_i2c_id[] = {
-       { "tas2770"},
+       { .name = "tas2770" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, tas2770_i2c_id);
index cf3f6abd7e7ba7df2fd300300116cef45cff9a74..1ec1c076204fb6035a791d612f3dae36a5a5bfa5 100644 (file)
@@ -621,7 +621,7 @@ static int tas2780_i2c_probe(struct i2c_client *client)
 }
 
 static const struct i2c_device_id tas2780_i2c_id[] = {
-       { "tas2780"},
+       { .name = "tas2780" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, tas2780_i2c_id);
index a78a8f9b983386c7f6d7399e7c8d369bf0c1f595..620ed4ef577dad3a7c90f05631dbf0883e92fa4b 100644 (file)
@@ -100,27 +100,27 @@ static const struct bulk_reg_val tas2781_cali_start_reg[] = {
 };
 
 static const struct i2c_device_id tasdevice_id[] = {
-       { "tas2020", TAS2020 },
-       { "tas2118", TAS2118 },
-       { "tas2120", TAS2120 },
-       { "tas2320", TAS2320 },
-       { "tas2563", TAS2563 },
-       { "tas2568", TAS2568 },
-       { "tas2570", TAS2570 },
-       { "tas2572", TAS2572 },
-       { "tas2574", TAS2574 },
-       { "tas2781", TAS2781 },
-       { "tas5802", TAS5802 },
-       { "tas5806m", TAS5806M },
-       { "tas5806md", TAS5806MD },
-       { "tas5815", TAS5815 },
-       { "tas5822", TAS5822 },
-       { "tas5825", TAS5825 },
-       { "tas5827", TAS5827 },
-       { "tas5828", TAS5828 },
-       { "tas5830", TAS5830 },
-       { "tas5832", TAS5832 },
-       {}
+       { .name = "tas2020", .driver_data = TAS2020 },
+       { .name = "tas2118", .driver_data = TAS2118 },
+       { .name = "tas2120", .driver_data = TAS2120 },
+       { .name = "tas2320", .driver_data = TAS2320 },
+       { .name = "tas2563", .driver_data = TAS2563 },
+       { .name = "tas2568", .driver_data = TAS2568 },
+       { .name = "tas2570", .driver_data = TAS2570 },
+       { .name = "tas2572", .driver_data = TAS2572 },
+       { .name = "tas2574", .driver_data = TAS2574 },
+       { .name = "tas2781", .driver_data = TAS2781 },
+       { .name = "tas5802", .driver_data = TAS5802 },
+       { .name = "tas5806m", .driver_data = TAS5806M },
+       { .name = "tas5806md", .driver_data = TAS5806MD },
+       { .name = "tas5815", .driver_data = TAS5815 },
+       { .name = "tas5822", .driver_data = TAS5822 },
+       { .name = "tas5825", .driver_data = TAS5825 },
+       { .name = "tas5827", .driver_data = TAS5827 },
+       { .name = "tas5828", .driver_data = TAS5828 },
+       { .name = "tas5830", .driver_data = TAS5830 },
+       { .name = "tas5832", .driver_data = TAS5832 },
+       { }
 };
 
 static const struct of_device_id tasdevice_of_match[] = {
index 36596b00ca69359063b177abe7b55f4e0f41dec2..4d1c122c8f04fb806e4e85b0d9b40e3d74f78526 100644 (file)
@@ -891,7 +891,7 @@ static const struct snd_soc_component_driver soc_component_dev_tas5086 = {
 };
 
 static const struct i2c_device_id tas5086_i2c_id[] = {
-       { "tas5086" },
+       { .name = "tas5086" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, tas5086_i2c_id);
index 19ccf8641e16aedf5e7a35bd7ed233fac6493ad7..8b5f9accf1207a4d7800e0f500711642610b37b7 100644 (file)
@@ -1064,13 +1064,13 @@ static const struct of_device_id tas571x_of_match[] __maybe_unused = {
 MODULE_DEVICE_TABLE(of, tas571x_of_match);
 
 static const struct i2c_device_id tas571x_i2c_id[] = {
-       { "tas5707", (kernel_ulong_t) &tas5707_chip },
-       { "tas5711", (kernel_ulong_t) &tas5711_chip },
-       { "tas5717", (kernel_ulong_t) &tas5717_chip },
-       { "tas5719", (kernel_ulong_t) &tas5717_chip },
-       { "tas5721", (kernel_ulong_t) &tas5721_chip },
-       { "tas5733", (kernel_ulong_t) &tas5733_chip },
-       { "tas5753", (kernel_ulong_t) &tas5753_chip },
+       { .name = "tas5707", .driver_data = (kernel_ulong_t)&tas5707_chip },
+       { .name = "tas5711", .driver_data = (kernel_ulong_t)&tas5711_chip },
+       { .name = "tas5717", .driver_data = (kernel_ulong_t)&tas5717_chip },
+       { .name = "tas5719", .driver_data = (kernel_ulong_t)&tas5717_chip },
+       { .name = "tas5721", .driver_data = (kernel_ulong_t)&tas5721_chip },
+       { .name = "tas5733", .driver_data = (kernel_ulong_t)&tas5733_chip },
+       { .name = "tas5753", .driver_data = (kernel_ulong_t)&tas5753_chip },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, tas571x_i2c_id);
index 2dcdd0a4bf80fbb87d249a8fb15b6354a657406e..0bbcfaadf3f2a68210cae29562a258e69f0cc434 100644 (file)
@@ -716,9 +716,9 @@ static struct snd_soc_dai_driver tas5720_dai[] = {
 };
 
 static const struct i2c_device_id tas5720_id[] = {
-       { "tas5720", TAS5720 },
-       { "tas5720a-q1", TAS5720A_Q1 },
-       { "tas5722", TAS5722 },
+       { .name = "tas5720", .driver_data = TAS5720 },
+       { .name = "tas5720a-q1", .driver_data = TAS5720A_Q1 },
+       { .name = "tas5722", .driver_data = TAS5722 },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, tas5720_id);
index 867046b7aaa0d4f9e9c69eca0b023a3accb5e616..bcc8cab8d667c17dc7a900be51aac5d1c3459016 100644 (file)
@@ -580,7 +580,7 @@ static void tas5805m_i2c_remove(struct i2c_client *i2c)
 }
 
 static const struct i2c_device_id tas5805m_i2c_id[] = {
-       { "tas5805m", },
+       { .name = "tas5805m" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, tas5805m_i2c_id);
index 85ecc246896fbbf88179df163a1bffa7167dfbd9..f5d50f8a1cfb9c0d8fab8fe8e5718c68474fa61b 100644 (file)
@@ -794,7 +794,7 @@ static void tas6424_i2c_remove(struct i2c_client *client)
 }
 
 static const struct i2c_device_id tas6424_i2c_ids[] = {
-       { "tas6424" },
+       { .name = "tas6424" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, tas6424_i2c_ids);
index 7d6fcba9986ea4e1e6ad676431ca3a28638e9388..7ddea2fbe2d28bb2a783c24f8c4aa55cfc8b9762 100644 (file)
@@ -614,7 +614,7 @@ static int tda7419_probe(struct i2c_client *i2c)
 }
 
 static const struct i2c_device_id tda7419_i2c_id[] = {
-       { "tda7419" },
+       { .name = "tda7419" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, tda7419_i2c_id);
index ac0c5c33767707a22182a409826cbe93900f3c9b..f30479f1f53b0d8b6a589a884dfb4f2e2a7e0037 100644 (file)
@@ -296,7 +296,7 @@ static int tfa9879_i2c_probe(struct i2c_client *i2c)
 }
 
 static const struct i2c_device_id tfa9879_i2c_id[] = {
-       { "tfa9879" },
+       { .name = "tfa9879" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, tfa9879_i2c_id);
index 270eee1ea5347f0bcf05c6082c5a0c479f831520..d7d958ecd8db5bcee196bd6ffb880b2a2b91995a 100644 (file)
@@ -1391,9 +1391,9 @@ static const struct snd_soc_component_driver soc_component_dev_adc3xxx = {
 };
 
 static const struct i2c_device_id adc3xxx_i2c_id[] = {
-       { "tlv320adc3001", ADC3001 },
-       { "tlv320adc3101", ADC3101 },
-       {}
+       { .name = "tlv320adc3001", .driver_data = ADC3001 },
+       { .name = "tlv320adc3101", .driver_data = ADC3101 },
+       { }
 };
 MODULE_DEVICE_TABLE(i2c, adc3xxx_i2c_id);
 
index e4f27a734501f095d19fee8b5087697727bc04ef..4eb9cea272760217491c459d4b4973a4fd51e3b5 100644 (file)
@@ -1326,10 +1326,10 @@ static int adcx140_i2c_probe(struct i2c_client *i2c)
 }
 
 static const struct i2c_device_id adcx140_i2c_id[] = {
-       { "tlv320adc3140", 0 },
-       { "tlv320adc5140", 1 },
-       { "tlv320adc6140", 2 },
-       {}
+       { .name = "tlv320adc3140", .driver_data = 0 },
+       { .name = "tlv320adc5140", .driver_data = 1 },
+       { .name = "tlv320adc6140", .driver_data = 2 },
+       { }
 };
 MODULE_DEVICE_TABLE(i2c, adcx140_i2c_id);
 
index a31fb95048b8fc6bed7b81722b4d8291fd0e7af5..2f928ae23887fba9b3b1af5b618b8da92614aa25 100644 (file)
@@ -28,8 +28,8 @@ static int tlv320aic23_i2c_probe(struct i2c_client *i2c)
 }
 
 static const struct i2c_device_id tlv320aic23_id[] = {
-       {"tlv320aic23"},
-       {}
+       { .name = "tlv320aic23" },
+       { }
 };
 
 MODULE_DEVICE_TABLE(i2c, tlv320aic23_id);
index 4362c2c06ce8d3f35360493158a530036baaf213..1d2e0ea6d4fedd21b04ebe0e71ceee2219aad7ac 100644 (file)
@@ -1630,14 +1630,14 @@ static void aic31xx_configure_ocmv(struct aic31xx_priv *priv)
 }
 
 static const struct i2c_device_id aic31xx_i2c_id[] = {
-       { "tlv320aic310x", AIC3100 },
-       { "tlv320aic311x", AIC3110 },
-       { "tlv320aic3100", AIC3100 },
-       { "tlv320aic3110", AIC3110 },
-       { "tlv320aic3120", AIC3120 },
-       { "tlv320aic3111", AIC3111 },
-       { "tlv320dac3100", DAC3100 },
-       { "tlv320dac3101", DAC3101 },
+       { .name = "tlv320aic310x", .driver_data = AIC3100 },
+       { .name = "tlv320aic311x", .driver_data = AIC3110 },
+       { .name = "tlv320aic3100", .driver_data = AIC3100 },
+       { .name = "tlv320aic3110", .driver_data = AIC3110 },
+       { .name = "tlv320aic3120", .driver_data = AIC3120 },
+       { .name = "tlv320aic3111", .driver_data = AIC3111 },
+       { .name = "tlv320dac3100", .driver_data = DAC3100 },
+       { .name = "tlv320dac3101", .driver_data = DAC3101 },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, aic31xx_i2c_id);
index b27b5ae1e4b20b6bddf5808596bbbaa45dda03aa..449353d5f0888b76585f3b5de4ef27b8c4a3fdfa 100644 (file)
@@ -38,9 +38,9 @@ static void aic32x4_i2c_remove(struct i2c_client *i2c)
 }
 
 static const struct i2c_device_id aic32x4_i2c_id[] = {
-       { "tlv320aic32x4", (kernel_ulong_t)AIC32X4_TYPE_AIC32X4 },
-       { "tlv320aic32x6", (kernel_ulong_t)AIC32X4_TYPE_AIC32X6 },
-       { "tas2505", (kernel_ulong_t)AIC32X4_TYPE_TAS2505 },
+       { .name = "tlv320aic32x4", .driver_data = (kernel_ulong_t)AIC32X4_TYPE_AIC32X4 },
+       { .name = "tlv320aic32x6", .driver_data = (kernel_ulong_t)AIC32X4_TYPE_AIC32X6 },
+       { .name = "tas2505", .driver_data = (kernel_ulong_t)AIC32X4_TYPE_TAS2505 },
        { /* sentinel */ }
 };
 MODULE_DEVICE_TABLE(i2c, aic32x4_i2c_id);
index 0b585925c1ac4a31762e7bf27eedbc3a1ad5bb15..71528ad3a3b62dc4681b28e2654d9f7c60e6a31f 100644 (file)
 #include "tlv320aic3x.h"
 
 static const struct i2c_device_id aic3x_i2c_id[] = {
-       { "tlv320aic3x", AIC3X_MODEL_3X },
-       { "tlv320aic33", AIC3X_MODEL_33 },
-       { "tlv320aic3007", AIC3X_MODEL_3007 },
-       { "tlv320aic3104", AIC3X_MODEL_3104 },
-       { "tlv320aic3106", AIC3X_MODEL_3106 },
+       { .name = "tlv320aic3x", .driver_data = AIC3X_MODEL_3X },
+       { .name = "tlv320aic33", .driver_data = AIC3X_MODEL_33 },
+       { .name = "tlv320aic3007", .driver_data = AIC3X_MODEL_3007 },
+       { .name = "tlv320aic3104", .driver_data = AIC3X_MODEL_3104 },
+       { .name = "tlv320aic3106", .driver_data = AIC3X_MODEL_3106 },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, aic3x_i2c_id);
index 5a7beeadb0098ff4cc5cf7edb0dee7e4f7ab0c33..39284e4d420ef23d6f015c52a987c6da6e45610b 100644 (file)
@@ -423,7 +423,7 @@ static const struct dev_pm_ops ts3a227e_pm = {
 };
 
 static const struct i2c_device_id ts3a227e_i2c_ids[] = {
-       { "ts3a227e" },
+       { .name = "ts3a227e" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, ts3a227e_i2c_ids);
index 7390ab250ebb6eae36136b0a0a12ddd176e0acb4..dba5818579203925399989c384ffd5ab371a4727 100644 (file)
@@ -1483,8 +1483,8 @@ static int tscs42xx_i2c_probe(struct i2c_client *i2c)
 }
 
 static const struct i2c_device_id tscs42xx_i2c_id[] = {
-       { "tscs42A1" },
-       { "tscs42A2" },
+       { .name = "tscs42A1" },
+       { .name = "tscs42A2" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, tscs42xx_i2c_id);
index 64d0da40fbaff6ca7144f136911c2f305b5b7354..aad394937ce61e716e45c1eb3d6d0758fa51eab9 100644 (file)
@@ -3454,7 +3454,7 @@ static int tscs454_i2c_probe(struct i2c_client *i2c)
 }
 
 static const struct i2c_device_id tscs454_i2c_id[] = {
-       { "tscs454" },
+       { .name = "tscs454" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, tscs454_i2c_id);
index b0b29012842da01864f1dbb0e3674ea3aa4c17aa..12f5757f4210da8e8ef922f5853c4bc96c1d37e7 100644 (file)
@@ -319,7 +319,7 @@ static DEFINE_RUNTIME_DEV_PM_OPS(uda1342_pm_ops,
                                 uda1342_suspend, uda1342_resume, NULL);
 
 static const struct i2c_device_id uda1342_i2c_id[] = {
-        { "uda1342" },
+        { .name = "uda1342" },
         { }
 };
 MODULE_DEVICE_TABLE(i2c, uda1342_i2c_id);
index 55c83d95bfba85800b4dfc0c06e64ad523d51f0d..e11884669d1c11fc5be3c4956b2dc1bf33f91358 100644 (file)
@@ -803,7 +803,7 @@ static int uda1380_i2c_probe(struct i2c_client *i2c)
 }
 
 static const struct i2c_device_id uda1380_i2c_id[] = {
-       { "uda1380" },
+       { .name = "uda1380" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, uda1380_i2c_id);
index 1f59309d8c6936a835eaccc713d769c47fcfbf94..5c1b00acb5bf86be20f5b451468658ae04effac0 100644 (file)
@@ -204,7 +204,7 @@ static int wm1250_ev1_probe(struct i2c_client *i2c)
 }
 
 static const struct i2c_device_id wm1250_ev1_i2c_id[] = {
-       { "wm1250-ev1" },
+       { .name = "wm1250-ev1" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, wm1250_ev1_i2c_id);
index 126be2a2a8f34380f62c235d1a8fc5c4e075f928..9b68ee69324b7e23af5750185984e79aada07b14 100644 (file)
@@ -929,7 +929,7 @@ out:
 }
 
 static const struct i2c_device_id wm2000_i2c_id[] = {
-       { "wm2000" },
+       { .name = "wm2000" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, wm2000_i2c_id);
index 87418c838ca0228ee7a1e3447fa378c3fef93322..ba8ce2e6e6150af6e84029421673155588ceaaa5 100644 (file)
@@ -2471,7 +2471,7 @@ static const struct dev_pm_ops wm2200_pm = {
 };
 
 static const struct i2c_device_id wm2200_i2c_id[] = {
-       { "wm2200" },
+       { .name = "wm2200" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, wm2200_i2c_id);
index 96fd098a9d362b1a4168ebf9262fa546d985a04d..bd94fa53c3624aa6c493f4204fcbb73f26ec06da 100644 (file)
@@ -2669,7 +2669,7 @@ static const struct dev_pm_ops wm5100_pm = {
 };
 
 static const struct i2c_device_id wm5100_i2c_id[] = {
-       { "wm5100" },
+       { .name = "wm5100" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, wm5100_i2c_id);
index bebee333d3fd893bce10c71cbd416e99b846a3e6..589a895648132c343c90538fdc70bf984e92d245 100644 (file)
@@ -669,7 +669,7 @@ static int wm8510_i2c_probe(struct i2c_client *i2c)
 }
 
 static const struct i2c_device_id wm8510_i2c_id[] = {
-       { "wm8510" },
+       { .name = "wm8510" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, wm8510_i2c_id);
index f003f19766e28cb13092b3d111d5d3126681bcbc..65108a041c92a77d8179d35a31a301a27bfd6ce9 100644 (file)
@@ -518,7 +518,7 @@ err_enable:
 }
 
 static const struct i2c_device_id wm8523_i2c_id[] = {
-       { "wm8523" },
+       { .name = "wm8523" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, wm8523_i2c_id);
index 2be265bb0751924bfa36096ad7d1d79b465239ad..ca7bbe5d4fc35c788781252826e857652536dfa7 100644 (file)
@@ -1034,8 +1034,8 @@ static const struct of_device_id wm8580_of_match[] = {
 MODULE_DEVICE_TABLE(of, wm8580_of_match);
 
 static const struct i2c_device_id wm8580_i2c_id[] = {
-       { "wm8580", (kernel_ulong_t)&wm8580_data },
-       { "wm8581", (kernel_ulong_t)&wm8581_data },
+       { .name = "wm8580", .driver_data = (kernel_ulong_t)&wm8580_data },
+       { .name = "wm8581", .driver_data = (kernel_ulong_t)&wm8581_data },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, wm8580_i2c_id);
index 2bab9d189519dddfb83afd7246fa0de22c6d7756..5271966b16150462f7c53d6f12ca355626ef17e7 100644 (file)
@@ -455,7 +455,7 @@ static int wm8711_i2c_probe(struct i2c_client *client)
 }
 
 static const struct i2c_device_id wm8711_i2c_id[] = {
-       { "wm8711" },
+       { .name = "wm8711" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, wm8711_i2c_id);
index 4c1a80561f06f375d71e397022e18dfb8354eae2..6e6fd77c30203665a8f28fa765b761ba0f174df0 100644 (file)
@@ -296,7 +296,7 @@ static int wm8728_i2c_probe(struct i2c_client *i2c)
 }
 
 static const struct i2c_device_id wm8728_i2c_id[] = {
-       { "wm8728" },
+       { .name = "wm8728" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, wm8728_i2c_id);
index 1254e583af51eefcc97ed8b6fc40bb558f604d15..5d19fcc4660608db02f9378dde807b27182abcfd 100644 (file)
@@ -47,7 +47,7 @@ static int wm8731_i2c_probe(struct i2c_client *i2c)
 }
 
 static const struct i2c_device_id wm8731_i2c_id[] = {
-       { "wm8731" },
+       { .name = "wm8731" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, wm8731_i2c_id);
index fee8a37ed1df25815581e31868cc2eff5c1f704f..4eb42d19bc7ec823b88285df309733cb63c68f3f 100644 (file)
@@ -641,7 +641,7 @@ static int wm8737_i2c_probe(struct i2c_client *i2c)
 }
 
 static const struct i2c_device_id wm8737_i2c_id[] = {
-       { "wm8737" },
+       { .name = "wm8737" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, wm8737_i2c_id);
index 4dfbb33edb099d2e65cf204a618b60aa6ca3a156..ca56fdfb508878e1ad27e8de1a9b817a1b3a672e 100644 (file)
@@ -606,7 +606,7 @@ static int wm8741_i2c_probe(struct i2c_client *i2c)
 }
 
 static const struct i2c_device_id wm8741_i2c_id[] = {
-       { "wm8741" },
+       { .name = "wm8741" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, wm8741_i2c_id);
index 0e1d3ebb15c49c57de9a4cd728e74536747e03d2..d3f1178c2d34e7c7b03809e9de9db1fc16fee057 100644 (file)
@@ -803,8 +803,8 @@ static int wm8750_i2c_probe(struct i2c_client *i2c)
 }
 
 static const struct i2c_device_id wm8750_i2c_id[] = {
-       { "wm8750" },
-       { "wm8987" },
+       { .name = "wm8750" },
+       { .name = "wm8987" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, wm8750_i2c_id);
index a532a95e8048050d1d756b3d53d8c76dadf72d5c..95b23504f68dc8e0e9fd63fcbe1a910237271ac3 100644 (file)
@@ -1581,7 +1581,7 @@ static int wm8753_i2c_probe(struct i2c_client *i2c)
 }
 
 static const struct i2c_device_id wm8753_i2c_id[] = {
-       { "wm8753" },
+       { .name = "wm8753" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, wm8753_i2c_id);
index c3f340657f0cc369b5d30e2082ee693cf8e62443..f3b02c77314f4f5d60c384aaf393345690e6bcf2 100644 (file)
@@ -513,8 +513,8 @@ static int wm8776_i2c_probe(struct i2c_client *i2c)
 }
 
 static const struct i2c_device_id wm8776_i2c_id[] = {
-       { "wm8775", WM8775 },
-       { "wm8776", WM8776 },
+       { .name = "wm8775", .driver_data = WM8775 },
+       { .name = "wm8776", .driver_data = WM8776 },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, wm8776_i2c_id);
index 3380d7301b178b9c6cac4be47d6154f74b865ffc..3c49abd33d280d021f5c59ff4bb1c8b7bb4490b5 100644 (file)
@@ -31,7 +31,7 @@ static void wm8804_i2c_remove(struct i2c_client *i2c)
 }
 
 static const struct i2c_device_id wm8804_i2c_id[] = {
-       { "wm8804" },
+       { .name = "wm8804" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, wm8804_i2c_id);
index 5312eb70dd29bcca72976091884f3872f7e212d2..a9128cfa6ff17e9c926a3b74c2012998da29f6ff 100644 (file)
@@ -1287,7 +1287,7 @@ static int wm8900_i2c_probe(struct i2c_client *i2c)
 }
 
 static const struct i2c_device_id wm8900_i2c_id[] = {
-       { "wm8900" },
+       { .name = "wm8900" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, wm8900_i2c_id);
index f73f6ad06b3830267b55628f6385874274f6be4c..320d7737699d97a5109bb2ce00a7d98429a66b18 100644 (file)
@@ -2203,7 +2203,7 @@ static const struct of_device_id wm8903_of_match[] = {
 MODULE_DEVICE_TABLE(of, wm8903_of_match);
 
 static const struct i2c_device_id wm8903_i2c_id[] = {
-       { "wm8903" },
+       { .name = "wm8903" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, wm8903_i2c_id);
index 4c73a340f25feb3514566dea8137fbef40c513d3..9e5782e50f475b5769944313e464070bedf2e9d0 100644 (file)
@@ -2621,9 +2621,9 @@ err_enable:
 }
 
 static const struct i2c_device_id wm8904_i2c_id[] = {
-       { "wm8904", WM8904 },
-       { "wm8912", WM8912 },
-       { "wm8918", WM8904 },   /* Actually a subset, updates to follow */
+       { .name = "wm8904", .driver_data = WM8904 },
+       { .name = "wm8912", .driver_data = WM8912 },
+       { .name = "wm8918", .driver_data = WM8904 },   /* Actually a subset, updates to follow */
        { }
 };
 MODULE_DEVICE_TABLE(i2c, wm8904_i2c_id);
index 2f55d0c572a4f0d956a6ff87817b3ebed88905ba..e631ec0722496a8902c2978a09775ab8c0430e1f 100644 (file)
@@ -851,7 +851,7 @@ static int wm8940_i2c_probe(struct i2c_client *i2c)
 }
 
 static const struct i2c_device_id wm8940_i2c_id[] = {
-       { "wm8940" },
+       { .name = "wm8940" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, wm8940_i2c_id);
index e1c61e026cbca0c822d87bdb42aaf1e93191e8a4..c897a9ab764dd8dc7a2023dfcc1d657789f6284a 100644 (file)
@@ -996,7 +996,7 @@ static int wm8955_i2c_probe(struct i2c_client *i2c)
 }
 
 static const struct i2c_device_id wm8955_i2c_id[] = {
-       { "wm8955" },
+       { .name = "wm8955" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, wm8955_i2c_id);
index 384e8e7034468ed7c8b5bc618d64294e85b37bb8..a810732c6af004cfcae5dd56d40b0d3d81bfea1c 100644 (file)
@@ -1551,7 +1551,7 @@ static void wm8960_i2c_remove(struct i2c_client *client)
 }
 
 static const struct i2c_device_id wm8960_i2c_id[] = {
-       { "wm8960" },
+       { .name = "wm8960" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, wm8960_i2c_id);
index cfb8cfc918732de8e419a1200f779f66015b9864..504fc59e4be2a62697cb476bfde35c8298038de9 100644 (file)
@@ -967,7 +967,7 @@ static int wm8961_i2c_probe(struct i2c_client *i2c)
 }
 
 static const struct i2c_device_id wm8961_i2c_id[] = {
-       { "wm8961" },
+       { .name = "wm8961" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, wm8961_i2c_id);
index 8d2435bf44eab9d1a0b6511e2e668e98625933bc..de18b1f85a32c37252eec6cd37ac6d409a7ef029 100644 (file)
@@ -3991,7 +3991,7 @@ static const struct dev_pm_ops wm8962_pm = {
 };
 
 static const struct i2c_device_id wm8962_i2c_id[] = {
-       { "wm8962" },
+       { .name = "wm8962" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, wm8962_i2c_id);
index 46aa556b44fa76fa2f983429ec04751e6ec4bc41..a5d2e91b66bbaa12098a0b3f0f6df2328f261331 100644 (file)
@@ -692,7 +692,7 @@ static int wm8971_i2c_probe(struct i2c_client *i2c)
 }
 
 static const struct i2c_device_id wm8971_i2c_id[] = {
-       { "wm8971" },
+       { .name = "wm8971" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, wm8971_i2c_id);
index 0bb5e947f46dcb260e59ed56ce58f1c7aad6328d..4656652b8e97c30b663d25eca1c85815147a39b9 100644 (file)
@@ -712,7 +712,7 @@ static int wm8974_i2c_probe(struct i2c_client *i2c)
 }
 
 static const struct i2c_device_id wm8974_i2c_id[] = {
-       { "wm8974" },
+       { .name = "wm8974" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, wm8974_i2c_id);
index 935761e5086504c7ecdd461aacd231c3dc8ca46d..ad8064bbaaac8b9df46c80a0a04b4700f346515f 100644 (file)
@@ -1059,7 +1059,7 @@ static int wm8978_i2c_probe(struct i2c_client *i2c)
 }
 
 static const struct i2c_device_id wm8978_i2c_id[] = {
-       { "wm8978" },
+       { .name = "wm8978" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, wm8978_i2c_id);
index cd34f71cf42aecf6509bac50ee7b635a1215cbe1..fab25f35fd14198e1f4bf63ff9cfcf8986b25367 100644 (file)
@@ -1060,7 +1060,7 @@ static int wm8983_i2c_probe(struct i2c_client *i2c)
 }
 
 static const struct i2c_device_id wm8983_i2c_id[] = {
-       { "wm8983" },
+       { .name = "wm8983" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, wm8983_i2c_id);
index be23c0c608d1426263c425e66ec7e47a1f93426f..2a64d5a851da8a7dfd42339afb99b4e45636fb6a 100644 (file)
@@ -1195,8 +1195,8 @@ static int wm8985_i2c_probe(struct i2c_client *i2c)
 }
 
 static const struct i2c_device_id wm8985_i2c_id[] = {
-       { "wm8985", WM8985 },
-       { "wm8758", WM8758 },
+       { .name = "wm8985", .driver_data = WM8985 },
+       { .name = "wm8758", .driver_data = WM8758 },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, wm8985_i2c_id);
index 9bffe7a6ccecf69b21eba13f2186d8e29e3d6485..741aecc7641a1b5f6d25bb7d36dc68be7ba16a34 100644 (file)
@@ -897,7 +897,7 @@ static int wm8988_i2c_probe(struct i2c_client *i2c)
 }
 
 static const struct i2c_device_id wm8988_i2c_id[] = {
-       { "wm8988" },
+       { .name = "wm8988" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, wm8988_i2c_id);
index 9f2b42025ec9fb9c5d63e3b80e209f2bf7af6105..11dfbbbdcd92070c5445e6710110a8856bea7256 100644 (file)
@@ -1241,7 +1241,7 @@ static int wm8990_i2c_probe(struct i2c_client *i2c)
 }
 
 static const struct i2c_device_id wm8990_i2c_id[] = {
-       { "wm8990" },
+       { .name = "wm8990" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, wm8990_i2c_id);
index b8ed2a3e699b1cbb28d4083e849894a1ee2591b9..225c235d3d8959c052d2cd21fd68fb3601e6c28d 100644 (file)
@@ -1315,7 +1315,7 @@ static int wm8991_i2c_probe(struct i2c_client *i2c)
 }
 
 static const struct i2c_device_id wm8991_i2c_id[] = {
-       { "wm8991" },
+       { .name = "wm8991" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, wm8991_i2c_id);
index 1c9299979898bbd6bcd0c9769a7c278d8038e5f8..2a94b23319b5398971eff321a28e47d335091eda 100644 (file)
@@ -1735,7 +1735,7 @@ static void wm8993_i2c_remove(struct i2c_client *i2c)
 }
 
 static const struct i2c_device_id wm8993_i2c_id[] = {
-       { "wm8993" },
+       { .name = "wm8993" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, wm8993_i2c_id);
index 104ce09c02e05eed1c0fca98a316c479efa5f73d..799989a5bf0f24179624fef3852df46fe31c3de1 100644 (file)
@@ -2259,8 +2259,8 @@ static int wm8995_i2c_probe(struct i2c_client *i2c)
 }
 
 static const struct i2c_device_id wm8995_i2c_id[] = {
-       {"wm8995"},
-       {}
+       { .name = "wm8995" },
+       { }
 };
 
 MODULE_DEVICE_TABLE(i2c, wm8995_i2c_id);
index 2d9cbf66f7d40d366a17b269962b924a8791d3d9..dface555f9288838dd0f21d1d33db0d7b188efe5 100644 (file)
@@ -3072,7 +3072,7 @@ static void wm8996_i2c_remove(struct i2c_client *client)
 }
 
 static const struct i2c_device_id wm8996_i2c_id[] = {
-       { "wm8996" },
+       { .name = "wm8996" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, wm8996_i2c_id);
index 521c55280f078ef9fe185df487a7e7ad9be76e77..2e4e0a76499d82138046020817b73d2a27c267ca 100644 (file)
@@ -1358,7 +1358,7 @@ static int wm9081_i2c_probe(struct i2c_client *i2c)
 }
 
 static const struct i2c_device_id wm9081_i2c_id[] = {
-       { "wm9081" },
+       { .name = "wm9081" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, wm9081_i2c_id);
index 5182f0839b7cebcec52bbd2f0931ead2f62c5085..8fc24b19313de1bca3d2dc38de1ee485600f0751 100644 (file)
@@ -607,8 +607,8 @@ static int wm9090_i2c_probe(struct i2c_client *i2c)
 }
 
 static const struct i2c_device_id wm9090_id[] = {
-       { "wm9090" },
-       { "wm9093" },
+       { .name = "wm9090" },
+       { .name = "wm9093" },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, wm9090_id);