Searched refs:oms (Results 1 – 1 of 1) sorted by relevance
47 free_irq(oms->detect_irq, mmc); in of_mmc_spi_exit()54 struct of_mmc_spi *oms; in mmc_spi_get_pdata() local59 oms = kzalloc(sizeof(*oms), GFP_KERNEL); in mmc_spi_get_pdata()60 if (!oms) in mmc_spi_get_pdata()66 oms->detect_irq = spi->irq; in mmc_spi_get_pdata()67 if (oms->detect_irq > 0) { in mmc_spi_get_pdata()68 oms->pdata.init = of_mmc_spi_init; in mmc_spi_get_pdata()69 oms->pdata.exit = of_mmc_spi_exit; in mmc_spi_get_pdata()74 dev->platform_data = &oms->pdata; in mmc_spi_get_pdata()77 kfree(oms); in mmc_spi_get_pdata()[all …]
Completed in 4 milliseconds