mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-02-17 08:46:40 +07:00
ASoC: cs4270: Remove redundant OOM message
Let memory subsystem handle the error logging. Signed-off-by: Sachin Kamat <sachin.kamat@samsung.com> Acked-by: Paul Handrigan <Paul.Handrigan@cirrus.com> Signed-off-by: Mark Brown <broonie@linaro.org>
This commit is contained in:
parent
7171511eae
commit
0e0327f2ab
@ -664,10 +664,8 @@ static int cs4270_i2c_probe(struct i2c_client *i2c_client,
|
|||||||
|
|
||||||
cs4270 = devm_kzalloc(&i2c_client->dev, sizeof(struct cs4270_private),
|
cs4270 = devm_kzalloc(&i2c_client->dev, sizeof(struct cs4270_private),
|
||||||
GFP_KERNEL);
|
GFP_KERNEL);
|
||||||
if (!cs4270) {
|
if (!cs4270)
|
||||||
dev_err(&i2c_client->dev, "could not allocate codec\n");
|
|
||||||
return -ENOMEM;
|
return -ENOMEM;
|
||||||
}
|
|
||||||
|
|
||||||
/* get the power supply regulators */
|
/* get the power supply regulators */
|
||||||
for (i = 0; i < ARRAY_SIZE(supply_names); i++)
|
for (i = 0; i < ARRAY_SIZE(supply_names); i++)
|
||||||
|
Loading…
Reference in New Issue
Block a user