Home
last modified time | relevance | path

Searched refs:hc_name (Results 1 – 1 of 1) sorted by relevance

/linux-3.4.99/arch/arm/mach-omap2/
Dhsmmc.c299 char *hc_name; in omap_hsmmc_pdata_init() local
301 hc_name = kzalloc(sizeof(char) * (HSMMC_NAME_LEN + 1), GFP_KERNEL); in omap_hsmmc_pdata_init()
302 if (!hc_name) { in omap_hsmmc_pdata_init()
304 kfree(hc_name); in omap_hsmmc_pdata_init()
309 strncpy(hc_name, c->name, HSMMC_NAME_LEN); in omap_hsmmc_pdata_init()
311 snprintf(hc_name, (HSMMC_NAME_LEN + 1), "mmc%islot%i", in omap_hsmmc_pdata_init()
313 mmc->slots[0].name = hc_name; in omap_hsmmc_pdata_init()
426 kfree(hc_name); in omap_hsmmc_pdata_init()