On 16 April 2018 at 04:33, Ryder Lee wrote:
> 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
Thanks, applied for next!
Kind regards
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
---
drivers/mmc/host/mtk-sd.c | 7 ++-
1 file changed, 2 insertions(+), 5 deletions(-)
di
2 matches
Mail list logo