kernel/sound/soc/codecs/cs42l56.c
.. .. @@ -1193,18 +1193,12 @@ 1193 1193 if (pdata) { 1194 1194 cs42l56->pdata = *pdata; 1195 1195 } else { 1196 - pdata = devm_kzalloc(&i2c_client->dev, sizeof(*pdata),1197 - GFP_KERNEL);1198 - if (!pdata)1199 - return -ENOMEM;1200 -1201 1196 if (i2c_client->dev.of_node) { 1202 1197 ret = cs42l56_handle_of_data(i2c_client, 1203 1198 &cs42l56->pdata); 1204 1199 if (ret != 0) 1205 1200 return ret; 1206 1201 } 1207 - cs42l56->pdata = *pdata;1208 1202 } 1209 1203 1210 1204 if (cs42l56->pdata.gpio_nreset) {