diff options
author | AngeloGioacchino Del Regno <[email protected]> | 2022-04-07 13:44:23 +0200 |
---|---|---|
committer | Mark Brown <[email protected]> | 2022-04-19 16:32:08 +0100 |
commit | 6b4440584b92851af44b235ad825c8554dd143c0 (patch) | |
tree | 3dd29fe954bb8a4208164dcceefeb69373bd3e8b /drivers/fpga/fpga-bridge.c | |
parent | 7f7cdef7288a7da117a54249b680b04f503f8a67 (diff) |
spi: mt65xx: Add and use pointer to struct device in mtk_spi_probe()
In preparation for switching to dev_err_probe() in this function, add
a pointer to struct device and replace all occurrences of '&pdev->dev'
to using this 'dev' pointer.
This is done for one-line fitting of the dev_err_probe() calls.
Signed-off-by: AngeloGioacchino Del Regno <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions