From: Alex Williamson Date: Thu, 14 Feb 2013 21:02:12 +0000 (-0700) Subject: vfio-pci: Cleanup read/write functions X-Git-Tag: v3.9-rc1~69^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5b279a11d32998aad1e45fe9de225302b6a8e8ba;p=pandora-kernel.git vfio-pci: Cleanup read/write functions The read and write functions are nearly identical, combine them and convert to a switch statement. This also makes it easy to narrow the scope of when we use the io/mem accessors in case new regions are added. Signed-off-by: Alex Williamson --- Reading git-diff-tree failed