summaryrefslogtreecommitdiff
path: root/drivers/spmi
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-12-04 16:33:27 +0300
committerDavid S. Miller <davem@davemloft.net>2017-12-05 22:40:34 +0300
commit573500dbf0f2756947517c1d4f942767dbf16dcc (patch)
treec91e5fe688d60eb652d75191b1f1a8d4cbaa3c9c /drivers/spmi
parent22c1aed4093a605b120d6e566620364843a318ed (diff)
downloadlinux-573500dbf0f2756947517c1d4f942767dbf16dcc.tar.xz
net: sh_eth: don't use NULL as "struct device" for the DMA mapping API
Using NULL as argument for the DMA mapping API is bogus, as the DMA mapping API may use information from the "struct device" to perform the DMA mapping operation. Therefore, pass the appropriate "struct device". Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Acked-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/spmi')
0 files changed, 0 insertions, 0 deletions