diff options
| author | Sergio Paracuellos <sergio.paracuellos@gmail.com> | 2018-06-18 12:36:06 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-06-28 15:50:58 +0300 |
| commit | 7e7cda889925af269ab902b2f402b94ce72059fc (patch) | |
| tree | e6c8e68debc2665a167d92e99c119937953fd84d /tools/perf/scripts/python | |
| parent | 98f0703bf20a9c90df8f959ecd10775fd45ae2b1 (diff) | |
| download | linux-7e7cda889925af269ab902b2f402b94ce72059fc.tar.xz | |
staging: mt7621-gpio: implement '.irq_[request|release]_resources' functions
When implementing custom irqchips it is important to also
implement .irq_request_resources() and .irq_release_resources()
and make sure these call gpiochip_[un]lock_as_irq().
Add those two for this driver. Also store struct device pointer
in global state structure to be able to use 'dev_err' with the
device from 'mediatek_request_resources' function.
Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
