diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2015-05-14 10:21:18 +0300 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2015-06-01 10:07:09 +0300 |
commit | 585c3a5a0bccad2f52a37345217db9ab5b5a3273 (patch) | |
tree | 89249b90825e0b123c427d65c1e12d99314a8325 /net/rfkill | |
parent | 43e943a04049d8f4ee96a940517a5fcb0f558ad2 (diff) | |
download | linux-585c3a5a0bccad2f52a37345217db9ab5b5a3273.tar.xz |
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 <kuninori.morimoto.gx@renesas.com>
Tested-by: Keita Kobayashi <keita.kobayashi.ym@renesas.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'net/rfkill')
0 files changed, 0 insertions, 0 deletions