diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2020-12-01 22:01:47 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-12-09 19:43:02 +0100 |
commit | 505b08777d78868e6c47051a4e7f011718a3aba1 (patch) | |
tree | 0fb9425c9d316fa0da168add059fc1666d820f1a /drivers/misc/pci_endpoint_test.c | |
parent | misc: rtsx: rts5249 support runtime PM (diff) | |
download | linux-505b08777d78868e6c47051a4e7f011718a3aba1.tar.xz linux-505b08777d78868e6c47051a4e7f011718a3aba1.zip |
misc: genwqe: Use dma_set_mask_and_coherent to simplify code
'pci_set_dma_mask()' + 'pci_set_consistent_dma_mask()' can be replaced by
an equivalent 'dma_set_mask_and_coherent()' which is much less verbose.
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Link: https://lore.kernel.org/r/20201201210147.7917-1-christophe.jaillet@wanadoo.fr
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions