diff options
author | Abhijeet Dharmapurikar <adharmap@codeaurora.org> | 2016-02-16 14:27:51 -0800 |
---|---|---|
committer | David Keitel <dkeitel@codeaurora.org> | 2016-03-22 11:16:39 -0700 |
commit | 81f2b08a8fc25bb70a01df33766a5e69b2ebeaf0 (patch) | |
tree | d9b768717a16c31f8212b43acb2e5d7288d0b893 /REPORTING-BUGS | |
parent | 774b4c9f4aad171d77e968b5f4f672224cf60ec3 (diff) |
qpnp: revid: fix the use of TYPE and SUBTYPE
The TYPE for a PMIC chip is always 0x51. There is no need to define it
for each PMIC chip.
Also the SUBTYPE of a PMIC chip doesn't change with versions. Have a
single definition of the SUBTYPE per PMIC chip.
Also, the driver uses integer indexes to get to the pmic name, instead
use the SUBTYPE to index in the pmic names array.
Change-Id: Ie1c43f3db0d4a395307253aad347ad93624a1203
Signed-off-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org>
Diffstat (limited to 'REPORTING-BUGS')
0 files changed, 0 insertions, 0 deletions