From 0f12a0ce4ce4a47d8a34399a3f22d4ce7fd2d908 Mon Sep 17 00:00:00 2001 From: Alexandre Courbot Date: Thu, 12 Feb 2015 13:36:11 +0900 Subject: [PATCH] mmc: pwrseq: simplify alloc/free hooks The alloc() and free() hooks required each pwrseq implementation to set host->pwrseq themselves. This is error-prone and could be done at a higher level if alloc() was changed to return a pointer to a struct mmc_pwrseq instead of an error code. This patch performs this change and moves the burden of maintaining host->pwrseq from the power sequence hooks to the pwrseq code. Signed-off-by: Alexandre Courbot Signed-off-by: Ulf Hansson --- Reading git-format-patch failed