From: Colin Cross Date: Sat, 14 Dec 2013 03:26:16 +0000 (-0800) Subject: ion: clean up ioctls X-Git-Tag: v3.14-rc1~150^2~381 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=db866e3ded294aac1059d45d6497cf1bdbebaa04;p=pandora-kernel.git ion: clean up ioctls Convert the ion ioctls to use _IOW instead of _IOWR where appropriate, and factor out the copy_from_user and copy_to_user based on the _IOC_DIR bits. For the existing incorrect ioctls, add a function to wrap _IOC_DIR to return the corrected value. Signed-off-by: Colin Cross Signed-off-by: John Stultz Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed