Commit e59d81e
dmaengine: ste_dma40: Pass dev to OF function
The OF platform data population function only wants to
use struct device *dev, so pass that instead.
This change makes the compiler realize that the local
platform data variable is unused, so drop that too.
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20230417-ux500-dma40-cleanup-v3-5-60bfa6785968@linaro.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>1 parent 42ae6f1 commit e59d81e
1 file changed
Lines changed: 6 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3480 | 3480 | | |
3481 | 3481 | | |
3482 | 3482 | | |
3483 | | - | |
| 3483 | + | |
3484 | 3484 | | |
3485 | 3485 | | |
3486 | 3486 | | |
3487 | 3487 | | |
3488 | 3488 | | |
3489 | 3489 | | |
3490 | | - | |
| 3490 | + | |
3491 | 3491 | | |
3492 | 3492 | | |
3493 | 3493 | | |
| |||
3500 | 3500 | | |
3501 | 3501 | | |
3502 | 3502 | | |
3503 | | - | |
| 3503 | + | |
3504 | 3504 | | |
3505 | 3505 | | |
3506 | 3506 | | |
| |||
3515 | 3515 | | |
3516 | 3516 | | |
3517 | 3517 | | |
3518 | | - | |
| 3518 | + | |
3519 | 3519 | | |
3520 | 3520 | | |
3521 | 3521 | | |
| |||
3526 | 3526 | | |
3527 | 3527 | | |
3528 | 3528 | | |
3529 | | - | |
| 3529 | + | |
3530 | 3530 | | |
3531 | 3531 | | |
3532 | 3532 | | |
3533 | 3533 | | |
3534 | 3534 | | |
3535 | 3535 | | |
3536 | 3536 | | |
3537 | | - | |
3538 | 3537 | | |
3539 | 3538 | | |
3540 | 3539 | | |
| |||
3544 | 3543 | | |
3545 | 3544 | | |
3546 | 3545 | | |
3547 | | - | |
| 3546 | + | |
3548 | 3547 | | |
3549 | 3548 | | |
3550 | 3549 | | |
| |||
0 commit comments