diff options
| author | 2014-07-28 13:09:32 +0100 | |
|---|---|---|
| committer | 2014-07-30 16:48:42 -0700 | |
| commit | 7f526aad196da471040a30bec4c788518e450fa2 (patch) | |
| tree | aeedbb019247d5a80ce258f6005b155f78ee838e /tools/lib/python/kdoc/python_version.py | |
| parent | staging: comedi: amplc_pc236: add callback to enable/disable interrupt (diff) | |
staging: comedi: amplc_pc236: combine interrupt enable/disable functions
`pc236_intr_enable()` and `pc236_intr_disable()` are very similar.
Combine them into a single function `pc236_intr_update()` with a
parameter to indicate whether interrupts are being enabled or disabled.
Change type type of the `enable_irq` member of the private data to
`bool` to match the parameter.
Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions
