diff options
author | Michael Hennerich <Michael.Hennerich@analog.com> | 2010-08-05 13:05:55 -0400 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2010-08-05 13:07:31 -0400 |
commit | 7be3c13425ddeed8427cfaad65c9123c2c8ca331 (patch) | |
tree | c59ed36671bc42b26ca6f18ff497f6e218af4298 /drivers | |
parent | 173bdd746b128241d3d6d202142820692e7dd530 (diff) |
Input: adxl34x - do not mark device as disabled on startup
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/input/misc/adxl34x.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/input/misc/adxl34x.c b/drivers/input/misc/adxl34x.c index e2ca01708080..de5900d50788 100644 --- a/drivers/input/misc/adxl34x.c +++ b/drivers/input/misc/adxl34x.c | |||
@@ -724,7 +724,6 @@ struct adxl34x *adxl34x_probe(struct device *dev, int irq, | |||
724 | pdata = &ac->pdata; | 724 | pdata = &ac->pdata; |
725 | 725 | ||
726 | ac->input = input_dev; | 726 | ac->input = input_dev; |
727 | ac->disabled = true; | ||
728 | ac->dev = dev; | 727 | ac->dev = dev; |
729 | ac->irq = irq; | 728 | ac->irq = irq; |
730 | ac->bops = bops; | 729 | ac->bops = bops; |