Commit 611cd8ae authored by Jingoo Han's avatar Jingoo Han Committed by Guenter Roeck

hwmon: (max1111) 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 567817de
...@@ -192,10 +192,8 @@ static int max1111_probe(struct spi_device *spi) ...@@ -192,10 +192,8 @@ static int max1111_probe(struct spi_device *spi)
return err; return err;
data = devm_kzalloc(&spi->dev, sizeof(struct max1111_data), GFP_KERNEL); data = devm_kzalloc(&spi->dev, sizeof(struct max1111_data), GFP_KERNEL);
if (data == NULL) { if (data == NULL)
dev_err(&spi->dev, "failed to allocate memory\n");
return -ENOMEM; return -ENOMEM;
}
switch (chip) { switch (chip) {
case max1110: case max1110:
......
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