File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1748,10 +1748,6 @@ static void mmci_set_ios(struct mmc_host *mmc, struct mmc_ios *ios)
17481748 unsigned long flags ;
17491749 int ret ;
17501750
1751- if (host -> plat -> ios_handler &&
1752- host -> plat -> ios_handler (mmc_dev (mmc ), ios ))
1753- dev_err (mmc_dev (mmc ), "platform ios_handler failed\n" );
1754-
17551751 switch (ios -> power_mode ) {
17561752 case MMC_POWER_OFF :
17571753 if (!IS_ERR (mmc -> supply .vmmc ))
Original file line number Diff line number Diff line change 1313 * @ocr_mask: available voltages on the 4 pins from the block, this
1414 * is ignored if a regulator is used, see the MMC_VDD_* masks in
1515 * mmc/host.h
16- * @ios_handler: a callback function to act on specfic ios changes,
17- * used for example to control a levelshifter
18- * mask into a value to be binary (or set some other custom bits
19- * in MMCIPWR) or:ed and written into the MMCIPWR register of the
20- * block. May also control external power based on the power_mode.
2116 * @status: if no GPIO line was given to the block in this function will
2217 * be called to determine whether a card is present in the MMC slot or not
2318 */
2419struct mmci_platform_data {
2520 unsigned int ocr_mask ;
26- int (* ios_handler )(struct device * , struct mmc_ios * );
2721 unsigned int (* status )(struct device * );
2822};
2923
You can’t perform that action at this time.
0 commit comments