.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-or-later |
---|
1 | 2 | /* |
---|
2 | 3 | * ADXL345/346 Three-Axis Digital Accelerometers |
---|
3 | 4 | * |
---|
4 | 5 | * Enter bugs at http://blackfin.uclinux.org/ |
---|
5 | 6 | * |
---|
6 | 7 | * Copyright (C) 2009 Michael Hennerich, Analog Devices Inc. |
---|
7 | | - * Licensed under the GPL-2 or later. |
---|
8 | 8 | */ |
---|
9 | 9 | |
---|
10 | 10 | #include <linux/device.h> |
---|
.. | .. |
---|
811 | 811 | AC_WRITE(ac, POWER_CTL, 0); |
---|
812 | 812 | |
---|
813 | 813 | err = request_threaded_irq(ac->irq, NULL, adxl34x_irq, |
---|
814 | | - IRQF_TRIGGER_HIGH | IRQF_ONESHOT, |
---|
815 | | - dev_name(dev), ac); |
---|
| 814 | + IRQF_ONESHOT, dev_name(dev), ac); |
---|
816 | 815 | if (err) { |
---|
817 | 816 | dev_err(dev, "irq %d busy?\n", ac->irq); |
---|
818 | 817 | goto err_free_mem; |
---|