diff options
| author | Shreeya Patel <shreeya.patel23498@gmail.com> | 2018-12-14 01:13:35 +0530 |
|---|---|---|
| committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2018-12-16 14:05:56 +0000 |
| commit | 7f6b6d553df71431e61dfd2691a184fc7538dbfc (patch) | |
| tree | 0e4547f6d6ad40c0b71b4a2935ad37750b2b114d /include/uapi/linux/mqueue.h | |
| parent | 1533e45748783ca971639b1b661509314a13ff8c (diff) | |
| download | cachepc-linux-7f6b6d553df71431e61dfd2691a184fc7538dbfc.tar.gz cachepc-linux-7f6b6d553df71431e61dfd2691a184fc7538dbfc.zip | |
Staging: iio: adt7316: Add all irq related code in adt7316_irq_setup()
ADT7316 driver no more uses platform data and hence use device tree
data instead of platform data for assigning irq_type field and
implement this in adt7316_irq_setup function.
Switch case figures out the type of irq and if it's the default case
then assign the default value to the irq_type i.e.
irq_type = IRQF_TRIGGER_LOW
Move devm_request_threaded_irq() and assignment of chip->config1
into the adt7316_setup_irq() to unclutter the code in probe function.
Signed-off-by: Shreeya Patel <shreeya.patel23498@gmail.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'include/uapi/linux/mqueue.h')
0 files changed, 0 insertions, 0 deletions
