From: Kuninori Morimoto Date: Thu, 14 May 2015 07:21:18 +0000 (+0000) Subject: mmc: sh_mmcif: add sh_mmcif_host_to_dev() macro and use it. X-Git-Tag: omap-for-v4.2/fixes-rc1^2~161^2~38 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=585c3a5a0bccad2f52a37345217db9ab5b5a3273;p=pandora-kernel.git 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-diff-tree failed