Skip to content

Commit

Permalink
Input: adxl34x - do not mark device as disabled on startup
Browse files Browse the repository at this point in the history
Do not mark device as desabled on startup - otherwise user must reset
disable sysfs hook before the driver delivers any data.

Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
  • Loading branch information
Michael Hennerich authored and Dmitry Torokhov committed Aug 5, 2010
1 parent 173bdd7 commit 7be3c13
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/input/misc/adxl34x.c
Original file line number Diff line number Diff line change
Expand Up @@ -724,7 +724,6 @@ struct adxl34x *adxl34x_probe(struct device *dev, int irq,
pdata = &ac->pdata;

ac->input = input_dev;
ac->disabled = true;
ac->dev = dev;
ac->irq = irq;
ac->bops = bops;
Expand Down

0 comments on commit 7be3c13

Please sign in to comment.