staging: hikey9xx: hi6421-spmi-pmic: document registers
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Fri, 29 Jan 2021 19:51:54 +0000 (20:51 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 31 Jan 2021 12:44:41 +0000 (13:44 +0100)
commit3cadf633656c8beb9a5af59d45e47feab4cee397
tree65b86e7928187454de352efe4578d5ceb43c51ae
parent307a60f03d5c5624b47d47cf56daaefe992207ac
staging: hikey9xx: hi6421-spmi-pmic: document registers

Make it clearer about how the IRQ registers are filled by adding
a table with them, with two macros used to calculate the mask
register.

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Link: https://lore.kernel.org/r/10f52ec0a8346fb883245344886c44714c859cd1.1611949675.git.mchehab+huawei@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/hikey9xx/hi6421-spmi-pmic.c