From 585c3a5a0bccad2f52a37345217db9ab5b5a3273 Mon Sep 17 00:00:00 2001 From: Kuninori Morimoto Date: Thu, 14 May 2015 07:21:18 +0000 Subject: [PATCH] mmc: sh_mmcif: add sh_mmcif_host_to_dev() macro and use it. Current sh_mmcif driver is directly using &host->pd->dev in all place. It is not big problem, but it is unreadable, and it can be cause of future bug. This patch adds new sh_mmcif_host_to_dev() and use it. Signed-off-by: Kuninori Morimoto Tested-by: Keita Kobayashi Signed-off-by: Ulf Hansson --- Reading git-format-patch failed