diff options
author | Ryder Lee | 2018-04-16 10:33:47 +0800 |
---|---|---|
committer | Ulf Hansson | 2018-05-02 15:08:48 +0200 |
commit | 909b345665158323b44e9c8b70234dea3067685d (patch) | |
tree | c29a000534330b9bd6103bc8c1c1fae91f357146 /drivers/mmc/host/wmt-sdmmc.c | |
parent | be17355a7472e8466fdb29dca09eaa6a9ab6468d (diff) |
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 'drivers/mmc/host/wmt-sdmmc.c')
0 files changed, 0 insertions, 0 deletions