Repository navigation
Commit 36c6df5
dma: at_hdmac: remove unnecessary platform_set_drvdata()
The driver core clears the driver data to NULL after device_release
or on probe failure, since commit 0998d06
(device-core: Ensure drvdata = NULL when no driver is bound).
Thus, it is not needed to manually clear the device driver data to NULL.
Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>1 parent 3208b37 commit 36c6df5
1 file changed
Lines changed: 0 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1570 | 1570 | | |
1571 | 1571 | | |
1572 | 1572 | | |
1573 | | - | |
1574 | 1573 | | |
1575 | 1574 | | |
1576 | 1575 | | |
| |||
1595 | 1594 | | |
1596 | 1595 | | |
1597 | 1596 | | |
1598 | | - | |
1599 | 1597 | | |
1600 | 1598 | | |
1601 | 1599 | | |
| |||
0 commit comments