On Thursday, April 04, 2013, Sachin Kamat wrote: > regulator_enable() is declared with __must_check attribute. > Hence check the return value to ensure that the regulator is enabled. > Fixes the following warning: > drivers/mmc/host/dw_mmc.c:2461:19: warning: > ignoring return value of ‘regulator_enable’, declared with attribute > warn_unused_result [-Wunused-result] > drivers/mmc/host/dw_mmc.c: In function ‘dw_mci_init_slot’: > drivers/mmc/host/dw_mmc.c:1994:19: warning: > ignoring return value of ‘regulator_enable’, declared with attribute > warn_unused_result [-Wunused-result] > > Signed-off-by: Sachin Kamat <sachin.kamat@xxxxxxxxxx> > Acked-by: Jaehoon Chung <jh80.chung@xxxxxxxxxxx> Acked-by: Seungwon Jeon <tgih.jun@xxxxxxxxxxx> Thanks, Seungwon Jeon -- To unsubscribe from this list: send the line "unsubscribe linux-mmc" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html