hwmon: (pc87427) remove unnecessary OOM messages
The site-specific OOM messages are unnecessary, because they duplicate the MM subsystem generic OOM message. Signed-off-by: Jingoo Han <jg1.han@samsung.com> Acked-by: Jean Delvare <jdelvare@suse.de> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
This commit is contained in:
parent
6122de8f8c
commit
2f89b072c9
1 changed files with 1 additions and 3 deletions
|
@ -1081,10 +1081,8 @@ static int pc87427_probe(struct platform_device *pdev)
|
||||||
|
|
||||||
data = devm_kzalloc(&pdev->dev, sizeof(struct pc87427_data),
|
data = devm_kzalloc(&pdev->dev, sizeof(struct pc87427_data),
|
||||||
GFP_KERNEL);
|
GFP_KERNEL);
|
||||||
if (!data) {
|
if (!data)
|
||||||
pr_err("Out of memory\n");
|
|
||||||
return -ENOMEM;
|
return -ENOMEM;
|
||||||
}
|
|
||||||
|
|
||||||
data->address[0] = sio_data->address[0];
|
data->address[0] = sio_data->address[0];
|
||||||
data->address[1] = sio_data->address[1];
|
data->address[1] = sio_data->address[1];
|
||||||
|
|
Loading…
Add table
Reference in a new issue