hwmon: (max197) remove unnecessary OOM messages
PATCH 5/8 hwmon: (max197) 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 <[email protected]>
--- drivers/hwmon/max197.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)
drivers/hwmon/max197.c +1 -3
@@ -275,10 +275,8 @@ static int max197_probe(struct platform_device *pdev) } data =devm_kzalloc (&pdev->dev,sizeof (struct max197_data ),GFP_KERNEL ); -if (!data) { -dev_err (&pdev->dev,"devm_kzalloc failed\n" ); +if (!data)return -ENOMEM ; - } data->pdata = pdata;mutex_init (&data->lock);
Signature · 8 lines
1.7.10.4 _______________________________________________ lm-sensors mailing list [email protected] http://lists.lm-sensors.org/mailman/listinfo/lm-sensors