
Add static variable to store version to avoid improper device pointer in wcd939x_readable_register(). Update WCD939X_NUM_REGISTERS macro to be correct size. Change-Id: Ib594f2f799ac2202ff78c02ccf2f6cdb80ffd38e Signed-off-by: Eric Rosas <quic_erosas@quicinc.com>