aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/pc87427.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/hwmon/pc87427.c')
-rw-r--r--drivers/hwmon/pc87427.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/hwmon/pc87427.c b/drivers/hwmon/pc87427.c
index d847e0a084e0..9e4684e747ea 100644
--- a/drivers/hwmon/pc87427.c
+++ b/drivers/hwmon/pc87427.c
@@ -1081,10 +1081,8 @@ static int pc87427_probe(struct platform_device *pdev)
1081 1081
1082 data = devm_kzalloc(&pdev->dev, sizeof(struct pc87427_data), 1082 data = devm_kzalloc(&pdev->dev, sizeof(struct pc87427_data),
1083 GFP_KERNEL); 1083 GFP_KERNEL);
1084 if (!data) { 1084 if (!data)
1085 pr_err("Out of memory\n");
1086 return -ENOMEM; 1085 return -ENOMEM;
1087 }
1088 1086
1089 data->address[0] = sio_data->address[0]; 1087 data->address[0] = sio_data->address[0];
1090 data->address[1] = sio_data->address[1]; 1088 data->address[1] = sio_data->address[1];