Commit 567817de authored by Jingoo Han's avatar Jingoo Han Committed by Guenter Roeck

hwmon: (lm93) remove unnecessary OOM messages

The site-specific OOM messages are unnecessary, because they
duplicate the MM subsystem generic OOM message.
Signed-off-by: default avatarJingoo Han <jg1.han@samsung.com>
Acked-by: default avatarJean Delvare <jdelvare@suse.de>
Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
parent 6d33d304
...@@ -2747,10 +2747,8 @@ static int lm93_probe(struct i2c_client *client, ...@@ -2747,10 +2747,8 @@ static int lm93_probe(struct i2c_client *client,
} }
data = devm_kzalloc(&client->dev, sizeof(struct lm93_data), GFP_KERNEL); data = devm_kzalloc(&client->dev, sizeof(struct lm93_data), GFP_KERNEL);
if (!data) { if (!data)
dev_dbg(&client->dev, "out of memory!\n");
return -ENOMEM; return -ENOMEM;
}
i2c_set_clientdata(client, data); i2c_set_clientdata(client, data);
/* housekeeping */ /* housekeeping */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment