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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user