]> www.infradead.org Git - users/dwmw2/linux.git/commit
fbdev: hyperv_fb: Simplify hvfb_putmem
authorSaurabh Sengar <ssengar@linux.microsoft.com>
Sat, 1 Mar 2025 16:16:30 +0000 (08:16 -0800)
committerWei Liu <wei.liu@kernel.org>
Sun, 9 Mar 2025 23:56:29 +0000 (23:56 +0000)
commitf5e728a50bb17336a20803dde488515b833ecd1d
tree2fed45791a5cf775536d0a54e69a20113400bea8
parent304386373007aaca9236a3f36afac0bbedcd2bf0
fbdev: hyperv_fb: Simplify hvfb_putmem

The device object required in 'hvfb_release_phymem' function
for 'dma_free_coherent' can also be obtained from the 'info'
pointer, making 'hdev' parameter in 'hvfb_putmem' redundant.
Remove the unnecessary 'hdev' argument from 'hvfb_putmem'.

Signed-off-by: Saurabh Sengar <ssengar@linux.microsoft.com>
Reviewed-by: Michael Kelley <mhklinux@outlook.com>
Tested-by: Michael Kelley <mhklinux@outlook.com>
Link: https://lore.kernel.org/r/1740845791-19977-2-git-send-email-ssengar@linux.microsoft.com
Signed-off-by: Wei Liu <wei.liu@kernel.org>
Message-ID: <1740845791-19977-2-git-send-email-ssengar@linux.microsoft.com>
drivers/video/fbdev/hyperv_fb.c