summaryrefslogtreecommitdiff
path: root/drivers/staging/mt7621-mmc
diff options
context:
space:
mode:
authorJaakko Tyynismaa <jaakko.tyynismaa@hotmail.com>2018-10-09 05:06:48 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-10-09 15:13:24 +0200
commit6b8b5fa2af32629bd2a65a2f719aa1d2ae836236 (patch)
tree1ede0a058fdd10992418225f63399093f9a3b365 /drivers/staging/mt7621-mmc
parent97972ccc083c3c682796ebe2436938efaf19f7ad (diff)
staging: mt7621-mmc: Add blank line after declaration
Add blank line after declaration. Reported by checkpatch. Signed-off-by: Jaakko Tyynismaa <jaakko.tyynismaa@hotmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/mt7621-mmc')
-rw-r--r--drivers/staging/mt7621-mmc/sd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/staging/mt7621-mmc/sd.c b/drivers/staging/mt7621-mmc/sd.c
index f17beff2e3df..0379f9c96f2a 100644
--- a/drivers/staging/mt7621-mmc/sd.c
+++ b/drivers/staging/mt7621-mmc/sd.c
@@ -1794,6 +1794,7 @@ static int msdc_drv_remove(struct platform_device *pdev)
static void msdc_drv_pm(struct platform_device *pdev, pm_message_t state)
{
struct mmc_host *mmc = platform_get_drvdata(pdev);
+
if (mmc) {
struct msdc_host *host = mmc_priv(mmc);
msdc_pm(state, (void *)host);