git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
43e943a
)
mmc: sh_mmcif: add sh_mmcif_host_to_dev() macro and use it.
author
Kuninori Morimoto
<kuninori.morimoto.gx@renesas.com>
Thu, 14 May 2015 07:21:18 +0000
(07:21 +0000)
committer
Ulf Hansson
<ulf.hansson@linaro.org>
Mon, 1 Jun 2015 07:07:09 +0000
(09:07 +0200)
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 <kuninori.morimoto.gx@renesas.com>
Tested-by: Keita Kobayashi <keita.kobayashi.ym@renesas.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sh_mmcif.c
patch
|
blob
|
history
diff --cc
drivers/mmc/host/sh_mmcif.c
Simple merge