File tree Expand file tree Collapse file tree 1 file changed +0
-12
lines changed Expand file tree Collapse file tree 1 file changed +0
-12
lines changed Original file line number Diff line number Diff line change @@ -1100,18 +1100,6 @@ static int pca9450_i2c_probe(struct i2c_client *i2c)
1100
1100
return ret ;
1101
1101
}
1102
1102
1103
- /*
1104
- * For LDO5 we need to be able to check the status of the SD_VSEL input in
1105
- * order to know which control register is used. Most boards connect SD_VSEL
1106
- * to the VSELECT signal, so we can use the GPIO that is internally routed
1107
- * to this signal (if SION bit is set in IOMUX).
1108
- */
1109
- pca9450 -> sd_vsel_gpio = gpiod_get_optional (& ldo5 -> dev , "sd-vsel" , GPIOD_IN );
1110
- if (IS_ERR (pca9450 -> sd_vsel_gpio )) {
1111
- dev_err (& i2c -> dev , "Failed to get SD_VSEL GPIO\n" );
1112
- return ret ;
1113
- }
1114
-
1115
1103
dev_info (& i2c -> dev , "%s probed.\n" ,
1116
1104
type == PCA9450_TYPE_PCA9450A ? "pca9450a" :
1117
1105
(type == PCA9450_TYPE_PCA9451A ? "pca9451a" : "pca9450bc" ));
You can’t perform that action at this time.
0 commit comments