Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 287075
b: refs/heads/master
c: 6edf3c3
h: refs/heads/master
i:
  287073: e6544aa
  287071: 3118727
v: v3
  • Loading branch information
Vivien Didelot authored and Guenter Roeck committed Jan 29, 2012
1 parent 48b6b9c commit 575134b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: cba9384b3c53d1a302206f68134a6cbfbae1d686
refs/heads/master: 6edf3c30af01854c416f8654d3d5d2652470afd4
3 changes: 2 additions & 1 deletion trunk/drivers/hwmon/sht15.c
Original file line number Diff line number Diff line change
Expand Up @@ -883,7 +883,7 @@ static int sht15_invalidate_voltage(struct notifier_block *nb,

static int __devinit sht15_probe(struct platform_device *pdev)
{
int ret = 0;
int ret;
struct sht15_data *data = kzalloc(sizeof(*data), GFP_KERNEL);
u8 status = 0;

Expand All @@ -901,6 +901,7 @@ static int __devinit sht15_probe(struct platform_device *pdev)
init_waitqueue_head(&data->wait_queue);

if (pdev->dev.platform_data == NULL) {
ret = -EINVAL;
dev_err(&pdev->dev, "no platform data supplied\n");
goto err_free_data;
}
Expand Down

0 comments on commit 575134b

Please sign in to comment.