diff options
| author | Shreeya Patel <[email protected]> | 2018-12-14 01:13:35 +0530 |
|---|---|---|
| committer | Jonathan Cameron <[email protected]> | 2018-12-16 14:05:56 +0000 |
| commit | 7f6b6d553df71431e61dfd2691a184fc7538dbfc (patch) | |
| tree | 0e4547f6d6ad40c0b71b4a2935ad37750b2b114d /tools/perf/scripts/python/bin | |
| parent | 1533e45748783ca971639b1b661509314a13ff8c (diff) | |
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 <[email protected]>
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions