power: pca9450: add a new parameter for power_pca9450_init

Currently PCA9450 might have address 0x25 or 0x35, so let user
choose the address.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com>
This commit is contained in:
Peng Fan
2021-03-19 15:57:06 +08:00
committed by Stefano Babic
parent fd60fe7e61
commit 4eeb9fe847
4 changed files with 5 additions and 5 deletions

View File

@@ -54,6 +54,6 @@ enum {
PCA9450_REG_NUM,
};
int power_pca9450_init(unsigned char bus);
int power_pca9450_init(unsigned char bus, unsigned char addr);
#endif