Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 167201
b: refs/heads/master
c: 06ee3d3
h: refs/heads/master
i:
  167199: 3b3514d
v: v3
  • Loading branch information
H Hartley Sweeten authored and Dmitry Torokhov committed Oct 6, 2009
1 parent 9272589 commit 66c6a8b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: 9e0af8a49872b8170c5a5da9d0262ae7834d2f9b
refs/heads/master: 06ee3d3c254a8e8abb9549cd228325114f596e5c
4 changes: 2 additions & 2 deletions trunk/drivers/input/misc/rotary_encoder.c
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,8 @@ static int __devinit rotary_encoder_probe(struct platform_device *pdev)
struct input_dev *input;
int err;

if (!pdata || !pdata->steps) {
dev_err(&pdev->dev, "invalid platform data\n");
if (!pdata) {
dev_err(&pdev->dev, "missing platform data\n");
return -ENOENT;
}

Expand Down

0 comments on commit 66c6a8b

Please sign in to comment.