diff options
author | Abhijeet Dharmapurikar <adharmap@codeaurora.org> | 2017-05-10 19:55:33 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-06-03 19:05:47 +0900 |
commit | 1ef1ce4e9ddd6dedd80f64ef112a3bd87ab50530 (patch) | |
tree | b07f11e843d8853e2e0cfa2ca1481b0b60480b81 /.cocciconfig | |
parent | 111a10bf3e53aeda5f14297a4c2dbacf3023de45 (diff) | |
download | linux-1ef1ce4e9ddd6dedd80f64ef112a3bd87ab50530.tar.bz2 |
spmi: pmic-arb: fix inconsistent use of apid and chan
The driver currently uses "apid" and "chan" to mean apid. Remove
the use of chan and use only apid.
On a SPMI bus there is allocation to manage up to 4K peripherals.
However, in practice only few peripherals are instantiated
and only few among the instantiated ones actually interrupt.
APID is CPU's way of keeping track of peripherals that could interrupt.
There is a table that maps the 256 interrupting peripherals to
a number between 0 and 255. This number is called APID. Information about
that interrupting peripheral is stored in registers offset by its
corresponding apid.
Signed-off-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org>
Signed-off-by: Kiran Gunda <kgunda@codeaurora.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to '.cocciconfig')
0 files changed, 0 insertions, 0 deletions