diff options
author | Ryder Lee <ryder.lee@mediatek.com> | 2018-04-16 04:33:47 +0200 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2018-05-02 15:08:48 +0200 |
commit | 909b345665158323b44e9c8b70234dea3067685d (patch) | |
tree | c29a000534330b9bd6103bc8c1c1fae91f357146 /Documentation | |
parent | mmc: sdhci-pci: Fix 3.3V voltage switch for some BYT-based Intel controllers (diff) | |
download | linux-909b345665158323b44e9c8b70234dea3067685d.tar.xz linux-909b345665158323b44e9c8b70234dea3067685d.zip |
mmc: mediatek: use of_device_get_match_data()
The usage of of_device_get_match_data() reduce the code size a bit.
Also, the only way to call msdc_drv_probe() is to match an entry in
msdc_of_ids[], so of_id cannot be NULL.
Signed-off-by: Ryder Lee <ryder.lee@mediatek.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions